matt.m...@lucidworks.com
unread,Dec 28, 2017, 8:05:48 PM12/28/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi,
I have an application which receives messages from a client on a bidirectional channel. There’s a case where I’d quickly stop processing messages on the server’s StreamObserver (after I’ve told the client to stop also), but I’m not sure of what’s actually happening to the already recieved messages in gRPC? I’m assuming they are sitting in some Netty queue. Is there a way to throw out those messages, or am I stuck just processing them all anyway? If the latter is the only way, can I somehow control the queue size so it doesn’t take a potentially long time to run through them all?
Thanks,
- Matt