You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "chia7712 (via GitHub)" <gi...@apache.org> on 2024/07/09 12:59:28 UTC
Re: [PR] KAFKA-17077: The node.id is inconsistent to broker.id when "broker.id.generation.enable=true". [kafka]
chia7712 commented on code in PR #16540:
URL: https://github.com/apache/kafka/pull/16540#discussion_r1670486842
##########
core/src/main/scala/kafka/server/KafkaServer.scala:
##########
@@ -259,6 +259,7 @@ class KafkaServer(
/* generate brokerId */
config.brokerId = getOrGenerateBrokerId(initialMetaPropsEnsemble)
+ config.nodeId = config.brokerId
Review Comment:
Could you please add comments to explain why zk broker needs to sync node.id here
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org