1
私はhystrix apiバージョン1.5.4を使用しています。メソッドwithExecutionIsolationThreadTimeoutInMilliseconds
が推奨されていません。代わりに代わりの方法は何ですか?それはwithExecutionTimeoutInMilliseconds
に置き換えられ、これはそれが言うことであるDocあたりとしてHystrixメソッドは非推奨です
public HystrixHelloCommand(String message) {
super(HystrixCommand.Setter.withGroupKey(HystrixCommandGroupKey.Factory.asKey("MyGroup")).andCommandPropertiesDefaults(
HystrixCommandProperties.Setter()
.withCircuitBreakerEnabled(true).withExecutionIsolationThreadTimeoutInMilliseconds(2000)));
}