We have a server and client application which shall talk to each other, both written in java and built with maven. They interact via a gRPC interface. We have different dependency situations on server and client: The server includes libraries lib-a and lib-b which in turn need a subset of the messages that are defined in *.protobuf. The server also
Tag: grpc-java
How to access gRPC server in matlab?
We have moved our DataAccess logic to Microservice and it is currently implemented as gRPC with C++ and we are able to utilize that in C# client and C++ client. Now we have to make use of this DataAccess grpc in Matlab client(legacy). So, i’m trying to find a way to access gRPC from Matlab and found that there is
Could one gRPC server run multiple same class of service?
Consider following code I want this server to run two AService with different args, argA and argB, is it possible? If possible, when a AStub call the method, which instance of service would it call? Answer I believe it is not possible, because each service is added to a map, by name, therefore new AServiceImpl(argB) will override the other.
i.grpc.internal.AbstractClientStream – Received data on closed stream meaning
I have a Spring boot application (v2.2.10.RELEASE) that subscribes to multiple topics in pubSub and pulls async data and sends it to somewhere else. I am not using SpringGCP, just native google libraries this is my subscriber setting: With high traffic and big messages (2 – 4 kb) I encounter this info message: first of all, I don’t fully understand
Channel ManagedChannelImpl was not shut down properly
If I run following these two tests I get the error. 1st test 2nd test io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference cleanQueue SEVERE: ~~~ Channel ManagedChannelImpl{logId=1, target=localhost:8081} was not shutdown properly!!! ~~~ Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true. java.lang.RuntimeException: ManagedChannel allocation site at io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.(ManagedChannelOrphanWrapper.java:94) If I comment out one of them, then no errors, unit tests pass though but the
Grpc.Core.RpcException method is unimplemented with C# client and Java Server
I am having trouble finding the source of this error. I implemented a simple service using protobuf: When using a java client everything works fine, the server receives the request and responds appropriately. When using C# with the same .proto file for generating sources at the client.Login() I get the following errror: Grpc.Core.RpcException Status(StatusCode=Unimplemented, Detail=”Method tourism.RemoteService/Login is unimplemented”). The server