-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pubsub: implement synchronous mode for Receive
Add a boolean ReceiveSetting called Synchronous, false by default. When true, Receive uses the ordinary Pull RPC instead of StreamingPull, and is careful to ensure that the number of messages in the client never exceeds MaxOutstandingMessages. Fixes #1088. Change-Id: I2ef9d06263d6487c14786e7ed98580e52254cd47 Reviewed-on: https://code-review.googlesource.com/33330 Reviewed-by: kokoro <[email protected]> Reviewed-by: Michael Darakananda <[email protected]>
- Loading branch information
Showing
6 changed files
with
282 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.