开启熔断
feign.hystrix.enabled=true
全局配置
hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=1000
接口级别配置
#熔断器熔断降级时间 设置要大于 connectTimeout + readTimeout 之和
hystrix.command.ProductClient#resourceCreatedProduct(ResourceToProductDto).execution.isolation.thread.timeoutInMilliseconds= 5000
规则是 Client类的名称#方法名(参数类型)