莫大人

2019年5月9日

feign hystrix

摘要: 1.添加依赖 2.添加配置 application.yml 3.编写feign接口 4.编写controller 5.编写启动类 6.在application.yml添加熔断器 hystrix 配置 feign.hystrix.enabled: true 7.编写熔断回调接口,必须实现同一接口 Sc 阅读全文

posted @ 2019-05-09 17:41 莫大人 阅读(255) 评论(0) 推荐(0) 编辑

导航