A Python utility script to convert an apache avro avpr file into several schemas and flatten them at the same time (including dependent schemas into one schema which often causes some headache with non standard apache avro library languages)
- Tested with python 2.7*
- Apache Avro python libraries needs to be installed
The script accepts 2 commandline parameters
- Path to input avpr file
- Path to outputfolder where schemas should be stored
e.g. python avro_flat "TEST1.avpr" "~/resultschemas"
The script has just been tested briefly with the avrogencpp generator so no guarantee....