Circuit Breaker using hystrix
a demo application to showcase the usage of hystrix module from spring cloud to implement circuit breaker pattern in distributed applications.
- Producer : a springboot based service to mimic the source of data
- Consumer : another springboot based service that acts as a consumer of the data produced by the service. This also implements the circuit breaker pattern to implement failover.
In case the Producer service is down, the consumer falls back to default implementation of the service endpoint and returns the result to the end user.
a UI dashboard to provide the realtime statistics of the circuit status. The same works in conjunction with springboot actuator.