jsancio commented on code in PR #19589: URL: https://github.com/apache/kafka/pull/19589#discussion_r2076088627
########## raft/src/main/java/org/apache/kafka/raft/QuorumConfig.java: ########## @@ -99,6 +100,11 @@ public class QuorumConfig { public static final String QUORUM_RETRY_BACKOFF_MS_DOC = CommonClientConfigs.RETRY_BACKOFF_MS_DOC; public static final int DEFAULT_QUORUM_RETRY_BACKOFF_MS = 20; + public static final String QUORUM_AUTO_JOIN_ENABLE = QUORUM_PREFIX + "auto.join.enable"; + public static final String QUORUM_AUTO_JOIN_ENABLE_DOC = "Controls whether a KRaft controller should automatically " + + "join the cluster metadata partition for its cluster id."; + public static final boolean DEFAULT_QUORUM_AUTO_JOIN_ENABLE = false; Review Comment: `KafkaConfig` should validate that this is `true` only when `process.role` contains `controller`. -- 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-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org