Hangleton commented on code in PR #13078:
URL: https://github.com/apache/kafka/pull/13078#discussion_r1105509459


##########
core/src/main/scala/kafka/server/ReplicaManager.scala:
##########
@@ -264,6 +265,8 @@ class ReplicaManager(val config: KafkaConfig,
     leaderPartitionsIterator.count(_.hasLateTransaction(currentTimeMs))
   }
 
+  def producerIdCount: Int = 
onlinePartitionsIterator.map(_.producerIdCount).sum

Review Comment:
   Thanks, got it. Exposing a partial aggregate per topic per broker may be 
misleading indeed, and we can use the new RPC `DescribeProducers` from KIP 847 
can be used to get the additional level of observability.



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