Avro tool needed to convert AVRO IDL (.avdl) files into .avsc or .avpr
run this in the terminal
cat avro-tools-1.9.2.jar_1 avro-tools-1.9.2.jar_2 > avro-tools-1.9.2.jar
- Generate
.avsc
file as following:
java -jar avro-tools-1.9.2.jar idl2schemata <path to .avdl> <path to .avsc>
- Generate
.avpr
file as following:
java -jar avro-tools-1.9.2.jar idl <path to .avdl> <path to .avpr>