I use kafkacat to see the header, but it returns
% ERROR: Unsupported formatter: %h
My kafkacat is 1.3, installed by apt-get install kafkacat
The full command I use is:
kafkacat -b localhost:9092 -t dlq_file_sink_03 -C -o-1 -c1 \
-f '\nKey (%K bytes): %k
Value (%S bytes): %s
Timestamp: %T
Partition: %p
Offset: %o
Headers: %h\n'
The above works without %h. %H also does not work.