OK, So I have pulled down the avro tools jar and I think what I want is the totext option. When I run the following command:
java -jar .\avro-tools-1.7.7.jar totext g:\DataIntegration\Compass\sample.members.avro –
I get the following error:
Avro file is not generic text schema
I am using the avro tools jar in a windows environment.
I read in an article that it’s looking for the text file to have a schema header value of ‘bytes’, but I am not sure how to achieve this.
I am making some progress though. I was able to extract the schema to a flat file and get the values out of the avro files in json format.
Any further insight would be greatly appreciated.
Thanks,
Shawn