Closed yizmailovSF closed 4 months ago
4.4.1
When using vertx grpc client it seems that callOptions that holds deadline configuration is not being propagated to VertxClientCall.
Create a vertx stub:
GrpcClientChannel channel = new GrpcClientChannel( GrpcClient.client(vertx), SocketAddress.inetSocketAddress( port, host)); SomeVertxStub stub = VertxSomeServiceGrpc.newVertxStub( channel);
Use this stub to make calls with deadline:
stub .withDeadlineAfter(1, TimeUnit.MILLISECONDS)
The deadline which is a part callOptions is not being sent to VertxClientCall and not taken into account when making grpc calls so there is no way to set request timeout for grpc client calls.
Version
4.4.1
Context
When using vertx grpc client it seems that callOptions that holds deadline configuration is not being propagated to VertxClientCall.
Steps to reproduce
Create a vertx stub:
Use this stub to make calls with deadline:
The deadline which is a part callOptions is not being sent to VertxClientCall and not taken into account when making grpc calls so there is no way to set request timeout for grpc client calls.