You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Jose Armando Garcia Sancio (Jira)" <ji...@apache.org> on 2021/06/24 23:30:00 UTC

[jira] [Created] (KAFKA-12992) Make kraft configuration properties public

Jose Armando Garcia Sancio created KAFKA-12992:
--------------------------------------------------

             Summary: Make kraft configuration properties public
                 Key: KAFKA-12992
                 URL: https://issues.apache.org/jira/browse/KAFKA-12992
             Project: Kafka
          Issue Type: Sub-task
          Components: core
            Reporter: Jose Armando Garcia Sancio
             Fix For: 3.0.0


All of the Kraft configurations should be made public:
{code:java}
        /*
         * KRaft mode configs. Note that these configs are defined as internal. We will make them public in the 3.0.0 release.
         */
        .defineInternal(ProcessRolesProp, LIST, Collections.emptyList(), ValidList.in("broker", "controller"), HIGH, ProcessRolesDoc)
        .defineInternal(NodeIdProp, INT, Defaults.EmptyNodeId, null, HIGH, NodeIdDoc)
        .defineInternal(InitialBrokerRegistrationTimeoutMsProp, INT, Defaults.InitialBrokerRegistrationTimeoutMs, null, MEDIUM, InitialBrokerRegistrationTimeoutMsDoc)
        .defineInternal(BrokerHeartbeatIntervalMsProp, INT, Defaults.BrokerHeartbeatIntervalMs, null, MEDIUM, BrokerHeartbeatIntervalMsDoc)
        .defineInternal(BrokerSessionTimeoutMsProp, INT, Defaults.BrokerSessionTimeoutMs, null, MEDIUM, BrokerSessionTimeoutMsDoc)
        .defineInternal(MetadataLogDirProp, STRING, null, null, HIGH, MetadataLogDirDoc)
        .defineInternal(ControllerListenerNamesProp, STRING, null, null, HIGH, ControllerListenerNamesDoc)
        .defineInternal(SaslMechanismControllerProtocolProp, STRING, SaslConfigs.DEFAULT_SASL_MECHANISM, null, HIGH, SaslMechanismControllerProtocolDoc)
 {code}
 

https://github.com/apache/kafka/blob/2beaf9a720330615bc5474ec079f8b4b105eff91/core/src/main/scala/kafka/server/KafkaConfig.scala#L1043-L1053



--
This message was sent by Atlassian Jira
(v8.3.4#803005)