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

Properly report retry counts when refreshing the lead broker #1720

Closed
wants to merge 1 commit into from

Conversation

faec
Copy link

@faec faec commented Jun 10, 2020

This PR is to address #1719, where configuring exponential backoff in the producer is ignored if the lead broker is down. It adds a new local variable to partitionProducer.dispatch to track errors in refreshing the broker, which is an "out-of-band" error condition since propagation of message retry counts relies on receiving a response from the broker.

Copy link
Contributor

@d1egoaz d1egoaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, your change makes sense to me.
could you please add some test for this.
Thanks

@ghost
Copy link

ghost commented Mar 16, 2021

Thank you for your contribution! However, this pull request has not had any activity in the past 90 days and will be closed in 30 days if no updates occur.
If you believe the changes are still valid then please verify your branch has no conflicts with master and rebase if needed. If you are awaiting a (re-)review then please let us know.

@ghost ghost added the stale Issues and pull requests without any recent activity label Mar 16, 2021
@bai bai closed this Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issues and pull requests without any recent activity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants