-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
fix(pubsub): mark ignore option default for publish flow control #5983
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-ordering the values via the iota is suspicious to me. If users are using the names consistently it is reasonable, but if they've been setting the int values directly or define their own enum-like things this will potentially cause a behavior change.
Yeah I didn't really want to do this but due to a bug/happenstance this is not a breaking change. There was a bug in the code where we compare the With this change, edit: Also, the iota reordering has to happen. As is, we cannot differentiate between if the user didn't set the LimitExceededBehavior field or if they intentionally want to use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM given the additional context.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving on behalf of others not in the groups.
Make ignore flow control the default option for publisher flow control. In addition, fix bug where default settings were not being respected.
Fixes #5976