cmccabe commented on code in PR #12063:
URL: https://github.com/apache/kafka/pull/12063#discussion_r852507178


##########
core/src/test/scala/unit/kafka/server/metadata/BrokerMetadataPublisherTest.scala:
##########
@@ -142,4 +157,80 @@ class BrokerMetadataPublisherTest {
     new TopicsImage(idsMap.asJava, namesMap.asJava)
   }
 
+  class TestBrokerMetadataPublisher(
+    conf: KafkaConfig,
+    metadataCache: KRaftMetadataCache,
+    logManager: LogManager,
+    replicaManager: ReplicaManager,
+    groupCoordinator: GroupCoordinator,
+    txnCoordinator: TransactionCoordinator,
+    clientQuotaMetadataManager: ClientQuotaMetadataManager,
+    featureCache: FinalizedFeatureCache,
+    dynamicConfigHandlers: Map[String, ConfigHandler],
+    private val _authorizer: Option[Authorizer]
+  ) extends BrokerMetadataPublisher(conf,
+      metadataCache,
+      logManager,
+      replicaManager,
+      groupCoordinator,
+      txnCoordinator,
+      clientQuotaMetadataManager,
+      featureCache,
+      dynamicConfigHandlers,
+      _authorizer)
+  {
+    val numTimesReloadCalled = new AtomicInteger(0)
+
+    override def reloadUpdatedFilesWithoutConfigChange(props: Properties): 
Unit = {

Review Comment:
   done



-- 
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

Reply via email to