Is there a way to configure trip the circuit breaker after X consecutive fails without having to implement it myself?
All I could find it about percentage of fails in a certain time.
Is there a way to configure trip the circuit breaker after X consecutive fails without having to implement it myself?
All I could find it about percentage of fails in a certain time.
Yes, you need to set following configuration for command.
hystrix.command.default.circuitBreaker.requestVolumeThreshold
Please checkout the following link for more details
https://github.com/Netflix/Hystrix/wiki/Configuration#circuitBreaker.requestVolumeThreshold