Skip to content

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

spring-cloud-example

Quick Start

Requirements

The requirements for running this example on your machine are found below.

  • Maven 3
  • Java 8
  • Docker 1.10.3
  • Docker Compose 1.9

Clone and Build

git clone https://github.com/ThoreauZZ/spring-cloud-example.git
cd spring-cloud-example
mvn install

wait for a period of time。

Start

docker-compose up

Test And Verify:

  1. Config : http://localhost:9000/user-service/dev

  2. Eureka-dashbord : http://localhost:9001/

  3. Turbine-dashbord : http://localhost:9010/hystrix

![](doc/images/Hystrix Dashboard.png) Paste urlhttp://localhost:9010/turbine.stream in Hystrix Dashboard, and moniter stream. ![](doc/images/Hystrix Stream turbine.png)

  1. Zull-->user: http://localhost:9006/user/user?id=1&token=anything

  2. user-clint-->user: http://10.69.42.86:9005/user/ribbon?id=1 user-clint-->user: http://10.69.42.86:9005/user/feign?id=1

Architecture

About

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages