kcat
kcat copied to clipboard
Avro (serdes) support for Producer mode
kafkacat
is a great tool, and allows you to consume messages from a topic in Avro using serdes
:
./kafkacat -b localhost:9092 \
-s value=avro \
-r http://localhost:8081 \
-t my-topic \
-o beginning \
-K : \
-C
But support of Avro (or serdes
) for the Producer mode is also needed:
./kafkacat -b localhost:9092 \
-s value=avro \
-r http://localhost:8081 \
-t my-topic \
-K : \
-P
% ERROR: -s serdes only available in the consumer
+1
+1