conduktor.io ↗

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

AuthorJohn Roesler
StatusAccepted
Kafka Version2.4
JIRAKAFKA-8696
WikiView on Apache Wiki
Created2019-07-11
Last Modified2019-07-22
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.