KIP-1216 — Add rebalance listener metrics for Kafka Streams
Accepted Kafka 4.2 StreamsMetrics
Adds tasks-revoked-latency, tasks-assigned-latency, and tasks-lost-latency (avg + max) metrics for the Kafka Streams rebalance listener callbacks under the new KIP-848 streams rebalance protocol. Streams migrated from the consumer rebalance listener to a streams-specific implementation, dropping the latency metrics that previously existed for revoked/assigned/lost partition callbacks.
Details
| Author | Travis Zhang |
| Status | Accepted |
| Kafka Version | 4.2 |
| JIRA | KAFKA-19691 |
| Wiki | View on Apache Wiki |
| Created | 2025-09-08 |
| Last Modified | 2025-10-14 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.