Я использую hystrix API версии 1.5.4. Я вижу, что метод withExecutionIsolationThreadTimeoutInMilliseconds
устарел. Каков альтернативный метод вместо этого?
public HystrixHelloCommand(String message) {
super(HystrixCommand.Setter.withGroupKey(HystrixCommandGroupKey.Factory.asKey("MyGroup")).andCommandPropertiesDefaults(
HystrixCommandProperties.Setter()
.withCircuitBreakerEnabled(true).withExecutionIsolationThreadTimeoutInMilliseconds(2000)));
}