Skip to content

Latest commit

 

History

History
93 lines (69 loc) · 2.74 KB

README.md

File metadata and controls

93 lines (69 loc) · 2.74 KB

Spring Cloud Netflix Hystrix

Sub-projects


Run

  1. Start Redis

    docker run -d --rm --name redis -p 6379:6379 redis:alpine redis-server --appendonly yes
    
  2. 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
    
  3. Start Eureka server

    cd ./eureka-server
    mvnw clean spring-boot:run
    
  4. Start producer service

    cd ./producer-service
    mvnw clean spring-boot:run
    
  5. Start consumer service

    cd ./consumer-service
    mvnw clean spring-boot:run
    
  6. Start dashboard

    cd ./dashboard
    mvnw clean spring-boot:run
    

Links

Producer

Consumer

Dashboard


Links

Hystrix

Hystrix + Caching

Turbine

Samples

Issues

Spring Boot Admin (remooved froom version 2.x)