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

Maintain shadow cluster metadata for bootstrapping #1753

Merged
merged 2 commits into from
Mar 22, 2019
Merged

Conversation

dpkp
Copy link
Owner

@dpkp dpkp commented Mar 21, 2019

Fixes #1751 (and part of #1741, related to hostname verification). This PR puts bootstrap metadata into a shadow metadata "cluster", similar to the java client. This moves dns resolution for multi-interface hostnames into BrokerConnection.connect(). And it gives each bootstrap server a unique node-id (rather than all sharing a single node-id of bootstrap), which allows the KafkaClient to manage connection attempts more consistently using least-loaded-node, etc.


This change is Reviewable

@dpkp dpkp merged commit af2dd48 into master Mar 22, 2019
@jeffwidman jeffwidman deleted the bootstrap_cluster branch March 22, 2019 09:08
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