Skip to content

bygui86/spring-cloud-hystrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)