KIP-488 — Clean up Sum,Count,Total Metrics
Accepted Kafka 2.4 Metrics
Consolidates and renames the overlapping `Count`, `Sum`, `Total`, and `SampledTotal` metric classes in Kafka's metrics framework, eliminating redundant stat implementations and clarifying the semantics of cumulative vs. windowed counts. The existing metric hierarchy has multiple classes with confusingly similar names and behaviors, some of which are duplicates, making it difficult for developers to choose the right metric type.
Details
| Author | John Roesler |
| Status | Accepted |
| Kafka Version | 2.4 |
| JIRA | KAFKA-8696 |
| Wiki | View on Apache Wiki |
| Created | 2019-07-11 |
| Last Modified | 2019-07-22 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.