Skip to content

abdennebi-archives/hystrix-spring

Repository files navigation

Up and running with Sample Spring-Cloud based Hystrix demo app

There are two ways to run the entire application:

  • On Local Machine

  • Using Docker

On Local Machine

Running it all local is simple, do the following in sequence, in four different terminal windows:

Start up Eureka
cd sample-hystrix-eureka
mvn spring-boot:run
Start up Config server
cd config-server
mvn spring-boot:run
Start up Sample Service
cd message-provider
mvn spring-boot:run
Start up Aggregate Application
cd
mvn spring-boot:run
Start up Gateway Application
cd zuul
mvn spring-boot:run
Start up Monitoring Application
cd turbine
mvn spring-boot:run

If all the applications have come up cleanly, the following endpoints are available:

On Docker

Running using Docker is even simpler, assuming that docker-compose and docker are installed on your box, just run the following:

Build the docker images for the microservices
mvn clean package docker:build
Start up Docker containers
docker-compose up

If all the applications have come up cleanly, the following endpoints are available:

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published