rondagostino commented on a change in pull request #10362:
URL: https://github.com/apache/kafka/pull/10362#discussion_r597775208



##########
File path: core/src/main/scala/kafka/server/KafkaConfig.scala
##########
@@ -663,19 +663,18 @@ object KafkaConfig {
   val ConnectionSetupTimeoutMsDoc = 
CommonClientConfigs.SOCKET_CONNECTION_SETUP_TIMEOUT_MS_DOC
   val ConnectionSetupTimeoutMaxMsDoc = 
CommonClientConfigs.SOCKET_CONNECTION_SETUP_TIMEOUT_MAX_MS_DOC
 
-  /** KIP-500 Config Documentation */
+  /** Self-managed mode configs */
   val ProcessRolesDoc = "The roles that this process plays: 'broker', 
'controller', or 'broker,controller' if it is both. " +
-    "This configuration is only for clusters upgraded for KIP-500, which 
replaces the dependence on Zookeeper with " +
-    "a self-managed Raft quorum. Leave this config undefined or empty for 
Zookeeper clusters."
+    "This configuration is only for clusters in self-managed mode, which rely 
on a Raft quorum instead of ZooKeeper. Leave this config undefined or empty for 
Zookeeper clusters."
   val InitialBrokerRegistrationTimeoutMsDoc = "When initially registering with 
the controller quorum, the number of milliseconds to wait before declaring 
failure and exiting the broker process."
-  val BrokerHeartbeatIntervalMsDoc = "The length of time in milliseconds 
between broker heartbeats. Used when running in KIP-500 mode."
-  val BrokerSessionTimeoutMsDoc = "The length of time in milliseconds that a 
broker lease lasts if no heartbeats are made. Used when running in KIP-500 
mode."
+  val BrokerHeartbeatIntervalMsDoc = "The length of time in milliseconds 
between broker heartbeats. Used when running in self-managed mode."
+  val BrokerSessionTimeoutMsDoc = "The length of time in milliseconds that a 
broker lease lasts if no heartbeats are made. Used when running in self-managed 
mode."
   val NodeIdDoc = "The node ID associated with the roles this process is 
playing when `process.roles` is non-empty. " +
     "This is required configuration when the self-managed quorum is enabled."
-  val MetadataLogDirDoc = "This configuration determines where we put the 
metadata log for clusters upgraded to " +
-    "KIP-500. If it is not set, the metadata log is placed in the first log 
directory from log.dirs."
-  val ControllerListenerNamesDoc = "A comma-separated list of the names of the 
listeners used by the KIP-500 controller. This is required " +
-    "if this process is a KIP-500 controller. The ZK-based controller will not 
use this configuration."
+  val MetadataLogDirDoc = "This configuration determines where we put the 
metadata log for clusters in self-managed mode. " +
+    "If it is not set, the metadata log is placed in the first log directory 
from log.dirs."
+  val ControllerListenerNamesDoc = "A comma-separated list of the names of the 
listeners used by the self-managed controller. This is required " +
+    "if this process is a self-managed controller. The ZK-based controller 
will not use this configuration."

Review comment:
       > This is required if this process is a self-managed controller.
   
   This is actually required for self-managed brokers as well -- it is how the 
broker figures out what security protocol to use when connecting to the 
controller.quorum.voters.
   
   Maybe `s/if this process is a self-managed controller/if this process is a 
self-managed broker and/or 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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to