Hystrix
Hystrix copied to clipboard
Excuse me, if serviceA calls serviceB, (B has two instances, B1 and B2), adding B1 always return a non-200 status code. Is there any way for hystrix to fuse B1 and directly adjust B2?
trafficstars
Excuse me, if serviceA calls serviceB, (B has two instances, B1 and B2), adding B1 always return a non-200 status code. Is there any way for hystrix to fuse B1 and directly adjust B2? (Retry is not considered here because there is a performance problem)
好的,我已收到。
在上报中扩展HystrixCommandKey, 默认HystrixCommandKey是由服务名+类名+方法名 你可以扩展到服务名+服务实例名+类名 + 方法名