I can see how you might do this with bidirectional streaming and start message followed by a stop or something similar but it feels like this kind of thing should just work out the box.
How are people cancelling streaming calls from the client without exception on client or server?
ee my GitHub issue for details
https://github.com/grpc/grpc/issues/8277
I can see how you might do this with bidirectional streaming and start message followed by a stop or something similar but it feels like this kind of thing should just work out the box.
--
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 grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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/439a51a5-bad8-45c3-ad9f-bf5c6d6c8d29%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm using the term cancel but equally I could say complete. The point is the client needs a way to tell the server it's done and doesn't care about any future responses. Both client and server then need to clean up any resources and not log any exceptions.
--
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 grpc-io+unsubscribe@googlegroups.com.
To post to this group, send email to grp...@googlegroups.com.
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/c56fc7ae-dae5-4376-9e05-30cd3df28b5d%40googlegroups.com.
The point is the client needs a way to tell the server it's done and doesn't care about any future responses. Both client and server then need to clean up any resources and not log any exceptions.