Is there a limit on the number of write calls in stream communication?

16 views
Skip to first unread message

윤석영

unread,
Jun 28, 2019, 3:21:10 AM6/28/19
to grpc.io

I want to perform only the operation of client sending request unilaterally to server through rpc below GenGrpcStream.



service GrpcIpc {
  rpc GenGrpc        (GenGrpcMsg) returns (google.protobuf.Empty) {} // rpc to send general IPC
  rpc GenGrpcStream  (stream GenGrpcMsg) returns (google.protobuf.Empty) {} // rpc to send general IPC
}


When I was conducting the test, there was a symptom that Client is down.

Are there any restrictions on the number of ClientWriter.Write?
In other words, can't ClientWriter.Write () be performed unlimited without ClientWriter.WritesDone ()?


I want to keep calling ClientWriter.Write () without ClientWriter.WritesDone or ClientWriter.Finish.
Is it possible ? 
Reply all
Reply to author
Forward
0 new messages