Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pubsub): Enable server side flow control by default with the opt…
…ion to turn it off (#3154) * feat: Enable server side flow control by default with the option to turn it off This change enables sending flow control settings automatically to the server. If ReceiveSettings.MaxOutstandingMessages > 0 or ReceiveSettings.MaxOutstandingBytes > 0, flow control will be enforced at the server side (in addition to the client side). This behavior is enabled by default and ReceiveSettings.UseLegacyFlowControl can be set for users who would like to opt-out of this feature in case they encounter issues with server side flow control. * Update subscription.go * use unexported field in pulloptions * use short variable declaration Co-authored-by: Alex Hong <9397363+hongalex@users.noreply.github.com>
- Loading branch information