无需额外配置,feign 默认已启用了 ribbon 负载均衡和重试机制。可以通过配置对参数进行调整 1 application.yml 配置 ribbon 超时和重试 ribbon.xxx 全局配置 item-service.ribbon.xxx 对特定服务实例的配置 2 启动服务,访问测试