2020年6月13日

springCloud(十) hystrix 和 openFeign 整合

摘要: #1.开启hystrix 添加了 openfeign 包 默认集成了 hystrix。只需要开启开关 server: port: 9080 spring: application: name: member-service-openfeign eureka: client: service-url: 阅读全文

posted @ 2020-06-13 23:05 顾~小诺 阅读(1665) 评论(0) 推荐(0) 编辑

springCloud(九) hystrix 和 restTemplate 整合

摘要: #1.pom.xml <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-hystrix</artifactId> </dependency> #2.启用 阅读全文

posted @ 2020-06-13 21:54 顾~小诺 阅读(379) 评论(0) 推荐(0) 编辑

导航