在springCloud中使用feign内嵌的断路器hystrix时。feign中的hystrix不起作用。
这可能是由于springCloud的版本原因造成的。需要在application.properties配置中开启hystrix:
feign.hystrix.enabled=true
expiator 2018-09-23 23:14 原文
在springCloud中使用feign内嵌的断路器hystrix时。feign中的hystrix不起作用。
这可能是由于springCloud的版本原因造成的。需要在application.properties配置中开启hystrix:
feign.hystrix.enabled=true