Can we use a message with a repeated filed inside in a Bidirectional streamed RPC service call?

17 views
Skip to first unread message

rohit nv

unread,
Jun 11, 2020, 10:54:21 PM6/11/20
to grpc.io
Hello I am struggling with a question -Can we use a message with a repeated filed inside in a Bidirectional streamed RPC service call?

My Client server architecture is bidirectionally streamed.

If so , is there any link for examples?

Danesh Kuruppu

unread,
Jun 12, 2020, 1:27:46 AM6/12/20
to rohit nv, grpc.io
Hi Rohit,

Hello I am struggling with a question -Can we use a message with a repeated filed inside in a Bidirectional streamed RPC service call?

My Client server architecture is bidirectionally streamed.

If so , is there any link for examples?

If I understand correctly, you need to pass the message with repeated fields in your Bidirectional streamed RPC call.
Yes, you can send any protobuf type of message in the Bidirectional streamed RPC call. So a message with repeated fields is also possible.
Please check out the sample in source repo[1]. There are samples in both Go and Java languages.


Thanks
Danesh

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/4e7ac217-60e0-42d2-aba1-a4bdfc840455o%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages