Skip to content

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

Open
kevin-wu24 wants to merge 1 commit intoapache:4.0from
kevin-wu24:KAFKA-20380-cherry-40
Open

KAFKA-20380; backwards compatible advertised.listeners when it is not defined#22218
kevin-wu24 wants to merge 1 commit intoapache:4.0from
kevin-wu24:KAFKA-20380-cherry-40

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
Co-authored-by: José Armando García Sancio jsancio@apache.org

Conflicts:
core/src/main/scala/kafka/server/KafkaConfig.scala
core/src/test/scala/unit/kafka/server/KafkaConfigTest.scala
Conflicts related to kafka.cluster.EndPoint being moved to org.apache.kafka.common.Endpoint

… 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>

 Conflicts:
	core/src/main/scala/kafka/server/KafkaConfig.scala
	core/src/test/scala/unit/kafka/server/KafkaConfigTest.scala
		Conflicts related to kafka.cluster.EndPoint being moved to org.apache.kafka.common.Endpoint
@kevin-wu24 kevin-wu24 force-pushed the KAFKA-20380-cherry-40 branch from a9a6995 to ebe6392 Compare May 5, 2026 22:57
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