hachikuji commented on code in PR #11969: URL: https://github.com/apache/kafka/pull/11969#discussion_r868576976
########## core/src/main/scala/kafka/server/KafkaConfig.scala: ########## @@ -1653,7 +1660,7 @@ class KafkaConfig private(doLog: Boolean, val props: java.util.Map[_, _], dynami val metadataSnapshotMaxNewRecordBytes = getLong(KafkaConfig.MetadataSnapshotMaxNewRecordBytesProp) /************* Authorizer Configuration ***********/ - val authorizer: Option[Authorizer] = { + val createNewAuthorizer: Option[Authorizer] = { Review Comment: This should be `def`. Otherwise, when running with `process.roles=broker,controller`, we will use the same `Authorizer` instance, which leads to duplicate errors. -- 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