showuon commented on a change in pull request #11145: URL: https://github.com/apache/kafka/pull/11145#discussion_r679768084
########## File path: core/src/main/scala/kafka/server/KafkaConfig.scala ########## @@ -2008,5 +2008,10 @@ class KafkaConfig(val props: java.util.Map[_, _], doLog: Boolean, dynamicConfigO require(principalBuilderClass != null, s"${KafkaConfig.PrincipalBuilderClassProp} must be non-null") require(classOf[KafkaPrincipalSerde].isAssignableFrom(principalBuilderClass), s"${KafkaConfig.PrincipalBuilderClassProp} must implement KafkaPrincipalSerde") + + if (usesSelfManagedQuorum) { + require(getClass(KafkaConfig.AlterConfigPolicyClassNameProp) == null, s"${KafkaConfig.AlterConfigPolicyClassNameProp} is not supported in KRaft, please disable.") + require(getClass(KafkaConfig.CreateTopicPolicyClassNameProp) == null, s"${KafkaConfig.CreateTopicPolicyClassNameProp} is not supported in KRaft, please disable.") Review comment: nit: `please disable.` -> `please disable it.` ? -- 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