Skip to content

Sample java implementation of a circuit breaker (Hystrix) together with a retry mechanism

Notifications You must be signed in to change notification settings

bennybauer/circuit-retry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Circuit-Retry

A sample java implementation of a circuit breaker (Hystrix) together with a retry mechanism (Failsafe). The retry is encapsulated in the http client (MyHttpClient). When a Hystrix command is using MyHttpClient it isn't aware of retries. In fact, timeout responsibility is handled to retry and is disabled on the command.

Setup

mvn install

Lessons Learned

Hystrix

  • Throwing a HystrixTimeoutException will be considered as FAILURE exuction exception and not TIMEOUT, unless execution.timeout.enabled is false

About

Sample java implementation of a circuit breaker (Hystrix) together with a retry mechanism

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages