KIP-798 — Add possibility to write kafka headers in Kafka Console Producer
Accepted Kafka 3.2 ProducerAdmin
Adds parse.headers=true support to kafka-console-producer.sh's LineMessageReader, with configurable delimiters for header blocks, individual headers, and key-value pairs within a header. The console producer previously had no way to include record headers, limiting its usefulness for testing header-aware consumers and SMTs.
Details
| Author | Florin Akermann |
| Status | Accepted |
| Kafka Version | 3.2 |
| JIRA | KAFKA-13351 |
| Wiki | View on Apache Wiki |
| Created | 2021-11-10 |
| Last Modified | 2022-06-23 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.