-
Start Redis
docker run -d --rm --name redis -p 6379:6379 redis:alpine redis-server --appendonly yes
-
Start MySQL
docker run -d --rm --name mysql -e MYSQL_DATABASE=hystrix -e MYSQL_ROOT_PASSWORD=admin-secret -e MYSQL_USER=user -e MYSQL_PASSWORD=secret -p 3306:3306 -p 33060:33060 mysql
-
Start Eureka server
cd ./eureka-server mvnw clean spring-boot:run
-
Start producer service
cd ./producer-service mvnw clean spring-boot:run
-
Start consumer service
cd ./consumer-service mvnw clean spring-boot:run
-
Start dashboard
cd ./dashboard mvnw clean spring-boot:run
- Turbine
- Turbine dashboard
- Hystrix dashboard (just producer-service)
- Hystrix dashboard (just consumer-service)
- https://www.baeldung.com/spring-cloud-netflix-hystrix
- https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-feign.html#spring-cloud-feign-hystrix
- http://nphumbert.github.io/blog/2017/07/23/setup-a-circuit-breaker-with-hystrix/
- https://dzone.com/articles/spring-cloud-with-turbine
- https://cloud.spring.io/spring-cloud-consul/multi/multi_spring-cloud-consul-turbine.html