GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — spring-cloud-study/2016-Brixton at master · tomsue/spring-cloud-study

Expand file tree

/

2016-Brixton

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

2016-Brixton

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
config-repo
config-repo
 
 
microservice-api-gateway
microservice-api-gateway
 
 
microservice-config-client-eureka
microservice-config-client-eureka
 
 
microservice-config-client
microservice-config-client
 
 
microservice-config-server-eureka
microservice-config-server-eureka
 
 
microservice-config-server
microservice-config-server
 
 
microservice-consumer-movie-feign-with-hystrix-stream
microservice-consumer-movie-feign-with-hystrix-stream
 
 
microservice-consumer-movie-feign-with-hystrix
microservice-consumer-movie-feign-with-hystrix
 
 
microservice-consumer-movie-feign
microservice-consumer-movie-feign
 
 
microservice-consumer-movie-ribbon-with-hystrix
microservice-consumer-movie-ribbon-with-hystrix
 
 
microservice-consumer-movie-ribbon
microservice-consumer-movie-ribbon
 
 
microservice-discovery-eureka
microservice-discovery-eureka
 
 
microservice-hystrix-dashboard
microservice-hystrix-dashboard
 
 
microservice-hystrix-turbine
microservice-hystrix-turbine
 
 
microservice-provider-user
microservice-provider-user
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

README.md

Outline

项目简介

WARNING

本目录中的代码基于Spring Cloud Brixton版本编写,相对陈旧,建议阅读Finchley版本!!!

本项目是开源书《使用Spring Cloud与Docker实战微服务》:

http://git.oschina.net/itmuch/spring-cloud-book

http://www.github.com/eacdy/spring-cloud-book

Spring Cloud章节的配套代码,如有疑问,请移步至该地址。

微服务架构交流QQ群:731548893,欢迎加入。

内容主要包含:

微服务角色 对应的技术选型
注册中心(Register Server) Eureka
服务提供者 spring mvc、spring-data-jpa、h2等
服务消费者 Ribbon/Feign消费服务提供者的接口
熔断器 Hystrix,包括Hystrix Dashboard以及Turbine
配置服务 Spring Cloud Config Server
API Gateway Zuul

准备

环境准备:

工具 版本或描述
JDK 1.8
IDE STS 或者 IntelliJ IDEA
Maven 3.x

主机名配置:

主机名配置(C:\Windows\System32\drivers\etc\hosts文件)
127.0.0.1 discovery config-server gateway movie user feign ribbon

主机规划:

项目名称 端口 描述 URL
microservice-api-gateway 8050 API Gateway 详见文章
microservice-config-client 8041 配置服务的客户端 详见文章
microservice-config-server 8040 配置服务 详见文章
microservice-consumer-movie-feign 8020 Feign Demo /feign/1
microservice-consumer-movie-feign-with-hystrix 8021 Feign Hystrix Demo /feign/1
microservice-consumer-movie-feign-with-hystrix-stream 8022 Hystrix Dashboard Demo /feign/1
microservice-consumer-movie-ribbon 8010 Ribbon Demo /ribbon/1
microservice-consumer-movie-ribbon-with-hystrix 8011 Ribbon Hystrix Demo /ribbon/1
microservice-discovery-eureka 8761 注册中心 /
microservice-hystrix-dashboard 8030 hystrix监控 /hystrix.stream
microservice-hystrix-turbine 8031 turbine /turbine.stream
microservice-provider-user 8000 服务提供者 /1
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.