Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Cloud Pub/Sub's subscriber flow control is specified on a per-client basis. If the client has multiple concurrent streams , the flow control limits are enforced on each individual stream on the server and across all streams in the client. As a result, the client could receive and buffer more messages than the flow control limits. For example, if one specifies a max of 10 outstanding messages and opens 10 streams, then the client may receive 100 messages. Additionally, if a stream closes, the client reopens it and at this time, the client may receive additional messages up to the flow control limits specified.
In these scenarios, the client may hold on to messages that are not sent to the callback specified by the user for processing messages, delaying the delivery of the messages. The Pub/Sub team is aware of this issue and is working on improvements.
There are steps one can take in their subscribers to minimize the impact of this issue: