Hi,
We are using gRPC java. We have server built in Java and the client and
server use long running bidi streams.
At some point, the clients disconnect suddenly and we get onError callback
with Cancelled status code.
At this point, one the server side should we call
responseObserver.onCompleted() to properly close the stream? Would it leak
any resources if we don't call responseObserver.onCompleted()? During the
life of the server may clients can come and go like this.

So if we do not call , responseObserver.onCompleted() on the server when
client goes away does it cause any memory issues if these
connections/disconnections happen all the time?

What is the grpc-java best practice here?

Thanks,
Rama

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAFfmCFG6CuH9%3DGAOWzXOiksaFTwmwWvEBzErVpwBrsfwawtKMQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to