我正在使用 Armeria grpc 客户端,如下所示:
Clients.builder("gproto+http://....")
.decorator(RetryingClient.newDecorator(retryRule, maxAttempts, perAttemptTimeout))
这会在所有传出请求中强制执行此重试行为。
有没有办法为目标服务提供的每个 grpc 方法提供不同的重试参数?
我正在使用 Armeria grpc 客户端,如下所示:
Clients.builder("gproto+http://....")
.decorator(RetryingClient.newDecorator(retryRule, maxAttempts, perAttemptTimeout))
这会在所有传出请求中强制执行此重试行为。
有没有办法为目标服务提供的每个 grpc 方法提供不同的重试参数?
谢谢,@Haitham。您已经为该 https://github.com/line/armeria/issues/3128创建了问题, 请密切关注。:)