2016-08-23 79 views
0

在網絡應用程序中使用spring-boot-starter-actuator,其中使用Ribbon/Feign客戶端時,未啓用hystrix流/端點。spring-cloud-Hystrix Stream with just Ribbon

HystrixCircuitBreakerConfiguration.HystrixWebConfiguration即使條件成立也不會被激活。

如何啓用Feign/Ribbon的hystrix流?

環境:春季啓動1.3.5.RELEASE,春季雲Brixton.SR4

回答

0

你加@EnableHystrix到上下文配置?

+0

謝謝。與'@ EnableHystrix'一起使用。假設'@ EnableFeignClients'會在內部啓用hystrix。 –