--
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/b6be3cdb-8618-415b-8939-7ce2c90b4560%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think you can do this with a server interceptor. Simply delay calling next until the configuration is available.
On Tue, Aug 1, 2017 at 2:22 AM, Carfield Yim <carf...@gmail.com> wrote:
Hi allI've a server process develop using grpc, I would like to have a cool DR which receive request but don't stream response until that config option set to trueThe implementation option I know is that in the service class, I handle that option and then don't run the StreamObserver.onNext(msg) until that config option set to true. However, if I doing that, I need to have that block of code for all my service classes.If there any better implementation approach?Thanks.
--
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+u...@googlegroups.com.