mumrah commented on a change in pull request #10008: URL: https://github.com/apache/kafka/pull/10008#discussion_r568144003
########## File path: core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala ########## @@ -78,7 +78,20 @@ class GroupMetadataManager(brokerId: Int, private val shuttingDown = new AtomicBoolean(false) /* number of partitions for the consumer metadata topic */ - private val groupMetadataTopicPartitionCount = getGroupMetadataTopicPartitionCount + private var _groupMetadataTopicPartitionCount: Option[Int] = Option.empty // lazy, once-only evaluation Review comment: Same volatile question as below ---------------------------------------------------------------- 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: us...@infra.apache.org