Skip to content
/ avroflat Public

Python utility script to take an apache avro avpr file and turn it into schemafiles with dependent schemas interweaved

License

Notifications You must be signed in to change notification settings

magsv/avroflat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

avroflat

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)

Dependencies

  1. Tested with python 2.7*
  2. Apache Avro python libraries needs to be installed

Running it

The script accepts 2 commandline parameters

  1. Path to input avpr file
  2. 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....

About

Python utility script to take an apache avro avpr file and turn it into schemafiles with dependent schemas interweaved

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages