Spring cloud 的Hystrix 需要在主类上面添加 @EnableHystrix annotation 同时必须在包含
@HystrixCommand(commandProperties = { @HystrixProperty(name = "circuitBreaker.requestVolumeThreshold", value = "2") })
注解 在方法上,否则无法产生Hystrix.stream
Stella981
2021-10-11
Spring cloud 的Hystrix 需要在主类上面添加 @EnableHystrix annotation 同时必须在包含
@HystrixCommand(commandProperties = { @HystrixProperty(name = "circuitBreaker.requestVolumeThreshold", value = "2") })
注解 在方法上,否则无法产生Hystrix.stream