Skip to content
This repository was archived by the owner on Apr 9, 2021. It is now read-only.

Commit ce393be

Browse files
committed
gRPC guarantees the order of streaming messages
Documented well in the bi-di case, but not explicitly spelled out in the other streaming cases.
1 parent 2f867e8 commit ce393be

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docs/guides/concepts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ rpc SayHello(HelloRequest) returns (HelloResponse){
5555

5656
- Server streaming RPCs where the client sends a request to the server and gets
5757
a stream to read a sequence of messages back. The client reads from the
58-
returned stream until there are no more messages.
58+
returned stream until there are no more messages. gRPC guarantees message
59+
ordering.
5960

6061
```
6162
rpc LotsOfReplies(HelloRequest) returns (stream HelloResponse){
@@ -65,7 +66,7 @@ rpc LotsOfReplies(HelloRequest) returns (stream HelloResponse){
6566
- Client streaming RPCs where the client writes a sequence of messages and sends
6667
them to the server, again using a provided stream. Once the client has
6768
finished writing the messages, it waits for the server to read them and return
68-
its response.
69+
its response. Again gRPC guarantees message ordering.
6970

7071
```
7172
rpc LotsOfGreetings(stream HelloRequest) returns (HelloResponse) {

0 commit comments

Comments
 (0)