Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

maxOutstandingMessages per stream #1996

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dermasmid
Copy link
Contributor

the maxOutstandingMessages is set per stream so we should divide by num of streams, right?

@dermasmid dermasmid requested review from a team as code owners November 6, 2024 09:40
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: pubsub Issues related to the googleapis/nodejs-pubsub API. labels Nov 6, 2024
@feywind
Copy link
Collaborator

feywind commented Nov 7, 2024

Yes. Unfortunately this is being held up by some discussions about what to do with legacy flow control compatibility.

@hongalex
Copy link
Member

hongalex commented Nov 7, 2024

To add slightly more color, dividing the flow control among the total amount of stream does not mean that the messages will be delivered evenly to each streaming pull stream. The total throughput could be limited in that case.

@feywind
Copy link
Collaborator

feywind commented Nov 8, 2024

But importantly for this PR, that change could cause unexpected side effects, which is why we haven't done it yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the googleapis/nodejs-pubsub API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants