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

fix(ci): Use loopback ipv4 (127.0.0.1) for Kafka advertised listeners #922

Merged
merged 1 commit into from
Feb 10, 2021

Conversation

beezz
Copy link
Contributor

@beezz beezz commented Feb 9, 2021

The new Docker version does not proxy the ipv6 loopback by default anymore. The GitHub actions virtual environment is adding an alias for localhost pointing to the ipv6 address which causes librdkafka to resolve localhost into two addresses and round-robin connections. With the recent update of docker in Ubuntu repositories, this mechanism is now broken (for the ipv6 address).

Using 127.0.0.1 in advertised listeners will circumvent the IP resolution.

#skip-changelog

@beezz beezz force-pushed the integration-tests-kafka-update branch from a14f3fc to 3486015 Compare February 9, 2021 12:28
@beezz beezz marked this pull request as ready for review February 9, 2021 12:41
@beezz beezz requested a review from a team February 9, 2021 12:41
@jan-auer jan-auer changed the title librdkafka use only v4 for producer fix(ci): Use IPv4 for librdkafka producers Feb 9, 2021
@beezz beezz marked this pull request as draft February 10, 2021 10:54
@beezz beezz force-pushed the integration-tests-kafka-update branch from 7290190 to 1e6b189 Compare February 10, 2021 12:21
@beezz beezz changed the title fix(ci): Use IPv4 for librdkafka producers fix(ci): Use loopback ipv4 (127.0.0.1) for Kafka advertised listeners Feb 10, 2021
@beezz beezz marked this pull request as ready for review February 10, 2021 12:30
Copy link
Member

@jan-auer jan-auer left a comment

Choose a reason for hiding this comment

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

Thank you!

@jan-auer jan-auer merged commit 85d6d12 into master Feb 10, 2021
@jan-auer jan-auer deleted the integration-tests-kafka-update branch February 10, 2021 15:59
jan-auer added a commit that referenced this pull request Feb 10, 2021
* master:
  fix(ci): Use loopback ip for advertised listeners (#922)
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.

None yet

3 participants