conduktor.io ↗

KIP-512 — make Record Headers available in onAcknowledgement and onComplete

Accepted Kafka 4.1 ProducerClient

KIP-512 exposes record headers in the `ProducerInterceptor.onAcknowledgement()` callback alongside the existing topic, partition, offset, and timestamp. Without headers, use cases like latency measurement (correlating request/response via header IDs) and distributed tracing (propagating trace context) cannot be implemented in producer interceptors.

Details

AuthorRenuka Metukuru
StatusAccepted
Kafka Version4.1
JIRAKAFKA-8830
WikiView on Apache Wiki
Created2019-08-23
Last Modified2024-09-06
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.