Skip to content

Avoid multiple connection attempts when refreshing metadata #1067

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

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Apr 4, 2017

Following upstream KAFKA-4024, this revision prevents connecting to multiple nodes simultaneously during metadata refresh when the least loaded node(s) is/are not currently connected.

KAFKA-4024 also includes a fix to avoid potentially waiting for the retry_backoff_ms period before refreshing topic metadata after the topic subscription changes. That change is not included here.

@dpkp dpkp force-pushed the metadata_wait_for_connect branch from af244a4 to d39fdd7 Compare April 5, 2017 00:57
@dpkp dpkp merged commit 7c24135 into master Apr 6, 2017
@jeffwidman jeffwidman deleted the metadata_wait_for_connect branch April 6, 2017 06:23
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Aug 25, 2017
88manpreet pushed a commit to Yelp/kafka-python that referenced this pull request Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant