KIP-639 — Move nodeLevelSensor and storeLevelSensor methods from StreamsMetricsImpl to StreamsMetrics
Discussion StreamsMetrics
Promotes `nodeLevelSensor()` and `storeLevelSensor()` helper methods from the internal `StreamsMetricsImpl` class to the public `StreamsMetrics` interface so custom state stores and processors can register sensors at these granularity levels safely. These internal helpers add null-safety guards for sensor registration but are inaccessible to user-implemented stores without casting to the internal class.
Details
| Author | mohamed chebbi |
| Status | Discussion |
| JIRA | KAFKA-10217 |
| Wiki | View on Apache Wiki |
| Created | 2020-07-05 |
| Last Modified | 2020-08-14 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.