You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/06/24 01:27:26 UTC
[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1497: 业务如果想在发生熔断的时候,在业务日志打个error日志,这个怎么做呢?
liubao68 commented on issue #1497:
URL: https://github.com/apache/servicecomb-java-chassis/issues/1497#issuecomment-648528120
> 没有触发熔断有两种情况:
>
> 1. 没有达到触发熔断的条件。
> 2. 没有注册成功。我遇到的情况是,使用Subscribe注解时,底层是通过反射获取配置了这个注解的方法。在对比注解类是否相等时,由于类加载器不同,导致无法获取到配置了注解的方法。导致没有注册成功。
class loader 导致反射不到这种情况还是挺难发现的。 好像也没较好的办法处理。
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org