Hi All,
This is Deepak here, i have been reading about gRPC from last couple of weeks, I want to use gRPC in one of my solution.
But as a beginner in gRPC i have several doubts about it. My scenarios are (both needs to be supported together at same time in same application)
1) My application is a gRPC client, which invokes server-side streaming RPC. (there can be multiple RPC calls and all rpcs need to be kept alive for relatively long time)
rpc subscribe(argument) returns (stream message) {};
2) My Application is a gRPC server which provides a bi-directional streaming RPC and will be used by other application to push notifications to my applications
rpc notify(stream message) returns(stream message)
My doubts are
For Scenario 1:
a) Can I have a non blocking implementation in java where my threads are not waiting for the server stream and the RPCs are kept alive untill i cancel it.
b) Can both the scenarios exist in the same application at a same time??
Thanks ,
Deepak