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
| Author | Philip Nee |
| Status | Accepted |
| Kafka Version | 4.0 |
| JIRA | KAFKA-16143 |
| Wiki | View on Apache Wiki |
| Created | 2024-07-08 |
| Last Modified | 2024-12-11 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.