Any example of GRPC Asynch Client and Server with RPC using Stream Message?
1,934 views
Skip to first unread message
deshm...@gmail.com
unread,
Jul 11, 2016, 2:20:59 AM7/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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
Any if used GRPC Asynch Client and Server with RPC using Stream Message, please share some information. GRPC example HelloWorld( async greeter) does not use stream message.
I will be using something like:
In Proto:
Service xyz { rpc Req1(Reqmsg) returns (stream events) {}
Instead of ServerAsyncResponseWriter, ClientAsyncResponseReader; we have to use: ServerAsyncWriter and ClientAsyncReader.
Please share some information if anyone came across such implementations.
deshm...@gmail.com
unread,
Jul 11, 2016, 3:41:14 AM7/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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, deshm...@gmail.com
Query is for C++ GRPC
Vijay Pai
unread,
Jul 12, 2016, 6:36:09 PM7/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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, deshm...@gmail.com
Hello,
I would recommend seeing test/cpp/qps/async_end2end_test.cc , particularly the SimpleServerStreaming code. This is a case where there is a client-side simple request that leads to a server returning a stream of responses, all of which are async.
Hope that helps!
Vijay
deshm...@gmail.com
unread,
Jul 15, 2016, 7:50:27 AM7/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message