conduktor.io ↗

KIP-877 — Mechanism for plugins and connectors to register metrics

Accepted Kafka 4.1 MetricsConnect

Adds a MetricsRegistry to the plugin configuration context so that Kafka plugins (partitioners, interceptors, Connect connectors, etc.) can register metrics that inherit parent component tags and reporters. Plugins that created their own Metrics instances got no parent tags, no reporter integration, and caused failures with singleton reporters like CruiseControlMetricsReporter when instantiated multiple times.

Details

AuthorMickael Maison
StatusAccepted
Kafka Version4.1
JIRAKAFKA-15995
WikiView on Apache Wiki
Created2022-10-10
Last Modified2025-09-29
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.