We are using temporal java SDK, and seeing this infinite retry loop happens every millisecs.
Stack trace:
io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
at io.grpc.stub.ClientCalls.toStatusRuntimeException(ClientCalls.java:262) ~[grpc-stub-1.35.0.jar:1.35.0]
at io.grpc.stub.ClientCalls.getUnchecked(ClientCalls.java:243) ~[grpc-stub-1.35.0.jar:1.35.0]
at io.grpc.stub.ClientCalls.blockingUnaryCall(ClientCalls.java:156) ~[grpc-stub-1.35.0.jar:1.35.0]
at io.temporal.api.workflowservice.v1.WorkflowServiceGrpc$WorkflowServiceBlockingStub.respondActivityTaskCompleted(WorkflowServiceGrpc.java:2727) ~[temporal-serviceclient-1.0.5.jar:?]
at io.temporal.internal.external.ManualActivityCompletionClientImpl.lambda$complete$0(ManualActivityCompletionClientImpl.java:110) ~[temporal-sdk-1.0.5.jar:?]
at io.temporal.internal.common.GrpcRetryer.lambda$retry$0(GrpcRetryer.java:109) ~[temporal-sdk-1.0.5.jar:?]
at io.temporal.internal.common.GrpcRetryer.retryWithResult(GrpcRetryer.java:127) ~[temporal-sdk-1.0.5.jar:?]
at io.temporal.internal.common.GrpcRetryer.retry(GrpcRetryer.java:106) ~[temporal-sdk-1.0.5.jar:?]
at io.temporal.internal.external.ManualActivityCompletionClientImpl.complete(ManualActivityCompletionClientImpl.java:104) ~[temporal-sdk-1.0.5.jar:?]
at io.temporal.internal.sync.ActivityCompletionClientImpl.complete(ActivityCompletionClientImpl.java:44) ~[temporal-sdk-1.0.5.jar:?]
Is there a way to set max retry on this?