feign断路器整合项目

yml将feign配置为开启状态 feign: hystrix: enabled: true 编写类实现feign接口 此处测试用 public interface UserService 做为接口编写 public class FeignHystrix implements UserService 实现这个接口   代码如下 可以了
相关文章
相关标签/搜索