kafkacat -b bootstrap.kafka.host:9092 \
-C -t topic \
-s avro -r http://schema-registry.host:8081 \
-f '
Key (%K bytes): %k
Value (%S bytes): %s
Timestamp: %T
Partition: %p
Offset: %o
Headers: %h
'
bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 \
--topic quickstart-events --from-beginning \
--property print.key=true \
--property print.headers=true \
--property print.timestamp=true