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.
有没有办法获取来自 hystrix 而不是您的run代码的异常?当我调用getFailedExecutionException()时getFallback(),如果异常是由超时之类的原因引起的,则异常为空。
run
getFailedExecutionException()
getFallback()
您是否设置了 hystrix 以使用 Semaphore ?如果是这种情况,那么您应该改用线程。