conduktor.io ↗

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

AuthorFlorin Akermann
StatusAccepted
Kafka Version3.2
JIRAKAFKA-13351
WikiView on Apache Wiki
Created2021-11-10
Last Modified2022-06-23
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.