a2j
v1.0.0
Published
A CLI util for deserializing Confluent-Schema-Registry-Encoded-Avro-Values into JSON, you know, for humans.
Downloads
2
Readme
A CLI util for deserializing Confluent-Schema-Registry-Encoded-Avro-Values into JSON, you know, for humans.
Usage
a2j --help
cat some-file.avro | a2j --base-url http://localhost:8081 | jq
kafkacat \
-X security.protocol=ssl \
-X ssl.key.location=./service.key \
-X ssl.certificate.location=./service.cert \
-X ssl.ca.location=./ca.pem \
-b kafka.mycorp.com:13581 \
-t my_topic_v1 \
-o beginning \
| a2j \
--url https://schema-registry.mycorp.com:13584 \
--username my_username \
--password my_p@ssw0rd \
| jq