...
Currently it is not possible to add headers to records when using the kafka-console-producer. The kafka-console-producer is an important debugging tool: Adding the possibility to add headers to a record will improve the debugging experience with the kafka-conosle-producer.
Public Interfaces
New properties to LineMessageReader
...
when parse.headers=true and parse.key=true:
"h1:v1,h2...\tkey\tvalue"
when parse.headers=false true and parse.key=truefalse:
"keyh1:v1,h2...\tvalue"
when parse.headers=true false and parse.key=falsetrue:
"h1:v1,h2...key\tvalue"
when parse.headers=false and parse.key=false :
...