chia7712 commented on code in PR #18621: URL: https://github.com/apache/kafka/pull/18621#discussion_r1922447869
########## core/src/main/scala/kafka/server/ReplicaManager.scala: ########## @@ -302,9 +302,6 @@ class ReplicaManager(val config: KafkaConfig, new DelayedOperationPurgatory[DelayedDeleteRecords]( "DeleteRecords", config.brokerId, config.deleteRecordsPurgatoryPurgeIntervalRequests)) - val delayedElectLeaderPurgatory = delayedElectLeaderPurgatoryParam.getOrElse( Review Comment: The zk broker waits for the metadata update before returning a response to the `ElectLeader` request, whereas the Kraft broker does not. Consequently, the Kraft broker does not need delayedOperation metrics for ElectLeader requests. Instead, kraft broker has `ForwardingManager` metrics to monitor the forwarded requests. -- 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