解决com.netflix.client.ClientException: Load balancer does not have available server for client:xxx
在application.yml中加入如下配置:feign: hystrix: enabled: trueribbon: eureka: enabled: trueSpring Cloud Feign HTTP请求异常Fallback容错机制,它是基于Hystrix实现的,所以要通过配置参数开启hystrix...
原创
2019-04-17 09:25:36 ·
1274 阅读 ·
0 评论