spring cloud : 远程调用容错 (降权Hystrix)

1.     业务微服务添加Feign @FeignClient(name="tcloud-msg") publicinterface MsgFeign { ……   2.     依赖jar中的捕获远程调用异常 在所依赖的项目tcloud-commons-api中添加Feign远程调用异常捕获。 ExceptionHandlerAdvice类中进行如下操作: 1.     handleOther
相关文章
相关标签/搜索