SpringCloud OpenFeign 熔断
OpenFeign 消费者 OpenFeign 默认支持负载均衡
OpenFeign maven配置
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.0.0.RELEASE</version>
</dependency>
FeignConfig 配置
@Configuration
@EnableFeignClients(basePackages = {
""})
@ComponentScan(basePackages = {
""})
public class FeignConfig