[ https://issues.apache.org/jira/browse/KAFKA-18624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18014782#comment-18014782 ]
John Luo commented on KAFKA-18624: ---------------------------------- Hi [~divijvaidya] , I'd like to work on this issue. I've assigned it to myself and will submit a patch soon. > Add validation for advertised listeners > --------------------------------------- > > Key: KAFKA-18624 > URL: https://issues.apache.org/jira/browse/KAFKA-18624 > Project: Kafka > Issue Type: Improvement > Reporter: Divij Vaidya > Assignee: John Luo > Priority: Major > > Users of Apache Kafka can configure the advertised listeners [1]on each > broker. It is possible to set an incorrect configuration here. The updated > (incorrect) configuration becomes effective on next restart of the broker. > The motivation is this Jira is to fail fast for cases where we are 100% sure > that the added configuration is incorrect. The validation should be added > near to > [https://github.com/apache/kafka/blob/410065a65df2716e563429577dc2d3bcaa0c7c9a/core/src/main/scala/kafka/server/KafkaConfig.scala#L649] > > The implementor of this ticket can choose the validations that we should > include, but as a starter, we can fail the config update if all the brokers > have the same advertised listener. > [1] > [https://kafka.apache.org/documentation.html#brokerconfigs_advertised.listeners] > -- This message was sent by Atlassian Jira (v8.20.10#820010)