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

Add rack_id field for Kafka components #878

Merged
merged 2 commits into from
Sep 16, 2021

Conversation

mihaitodor
Copy link
Collaborator

@mihaitodor mihaitodor commented Sep 16, 2021

Fixes #560.

I managed to run the TestIntegration/kafka_redpanda and TestIntegration/kafka_old integration tests in a DinD container, since kafka_old requires the correct host IP which doesn't work directly on Docker for Mac. There doesn't seem to be any easy way to add a specific test for this field, so I guess we'll just have to count on Sarama to do the right thing.

Annoyingly, since ListNetworks doesn't work correctly in DinD, I hardcoded the "host" IP address in the code to run the kafka_old tests. There's a bug report for this since 2016 🤦‍♂️

@mihaitodor mihaitodor requested a review from Jeffail September 16, 2021 00:21
@Jeffail
Copy link
Collaborator

Jeffail commented Sep 16, 2021

Looks good, thanks @mihaitodor! But yikes on that ancient issue.

@Jeffail Jeffail merged commit 1afd2dd into redpanda-data:master Sep 16, 2021
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.

Rack-awareness in Kafka input
2 participants