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
| Author | Renuka Metukuru |
| Status | Accepted |
| Kafka Version | 4.1 |
| JIRA | KAFKA-8830 |
| Wiki | View on Apache Wiki |
| Created | 2019-08-23 |
| Last Modified | 2024-09-06 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.