如何记录弹性4J骆驼路线中后备的原因
在弹性4J配置中,我有用于断路器,舱壁和线程超时的参数。后备后,我将无法找出导致后备的原因。
in resilience4j configuration I have params for circuit breaker, bulkhead and thread timeout together. Once the fallback happens, I am unable to find out what caused the fallback.I am implementing the resilience4j configuration in camel route.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您无法混合fallback和异常,请使用dotry()和throwExceptionwhenhalfopenoropenstate(true)configuraton:
You can't mix onFallback and Exception, use doTry() and throwExceptionWhenHalfOpenOrOpenState(true) configuraton :