KIP-847 — Add ProducerIdCount metrics
Accepted Kafka 3.5 MetricsProducer
KIP-847 adds a `ProducerIdCount` JMX metric to each broker that reports the number of active producer IDs tracked by `ProducerStateManager`. Operators had no lightweight way to monitor idempotent and transactional producer count; the only existing visibility (from KIP-360) required parsing log or snapshot data rather than querying a metric.
Details
| Author | Artem Livshits |
| Status | Accepted |
| Kafka Version | 3.5 |
| JIRA | KAFKA-13999 |
| Wiki | View on Apache Wiki |
| Created | 2022-06-15 |
| Last Modified | 2022-07-18 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.