Skip to content

KAFKA-20380; backwards compatible advertised.listeners when it is not defined#22216

Merged
jsancio merged 1 commit intoapache:4.2from
kevin-wu24:KAFKA-20380-cherry-42
May 6, 2026
Merged

KAFKA-20380; backwards compatible advertised.listeners when it is not defined#22216
jsancio merged 1 commit intoapache:4.2from
kevin-wu24:KAFKA-20380-cherry-42

Conversation

@kevin-wu24
Copy link
Copy Markdown
Contributor

Kafka can incorrectly resolve the advertised listener for controllers if it is not specified. For controller configurations that specify the controller.quorum.voters but not the advertised.listener, Kafka can deduce the advertise listener for the default listener. In this cases, Kafka will automatically set the advertised listener for the default listener to the endpoint specified in controller.quorum.voters.

Reviewers: José Armando García Sancio jsancio@apache.org

… defined (apache#21918)

Kafka can incorrectly resolve the advertised listener for controllers if
it is not  specified. For controller configurations that specify the
controller.quorum.voters but not the advertised.listener, Kafka can
deduce the advertise listener for the default listener. In this cases,
Kafka will automatically set the advertised listener for the default
listener to the endpoint specified in controller.quorum.voters.

Reviewers: José Armando García Sancio <jsancio@apache.org>
Co-authored-by: José Armando García Sancio <jsancio@apache.org>
@kevin-wu24 kevin-wu24 force-pushed the KAFKA-20380-cherry-42 branch from 1293a3b to 361372f Compare May 6, 2026 13:41
@jsancio jsancio merged commit ee37951 into apache:4.2 May 6, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants