Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在 X 次连续失败后配置断路器跳闸而无需自己实施?
我所能找到的关于特定时间内失败的百分比。
是的,您需要为命令设置以下配置。
hystrix.command.default.circuitBreaker.requestVolumeThreshold
请查看以下链接了解更多详情
https://github.com/Netflix/Hystrix/wiki/Configuration#circuitBreaker.requestVolumeThreshold