conduktor.io ↗

KIP-1068 — New metrics for the new KafkaConsumer

Accepted Kafka 4.0 ConsumerMetrics

Adds new metrics specific to the `AsyncKafkaConsumer` (CONSUMER rebalance protocol) including thread coordination metrics and event queue depth that are not applicable to the `LegacyKafkaConsumer` (CLASSIC protocol). The new consumer implementation introduced in KIP-848 uses a dual-thread model (API thread + network I/O background thread) whose operational characteristics cannot be observed with the existing single-threaded consumer metrics.

Details

AuthorPhilip Nee
StatusAccepted
Kafka Version4.0
JIRAKAFKA-16143
WikiView on Apache Wiki
Created2024-07-08
Last Modified2024-12-11
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.