Skip to content

bitvavo/avsc2avdl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

avsc2avdl

Avro Schema to Avro IDL converter

Usage: avsc2avdl [*.avsc]

The result schema, in Avro IDL format, will be printed to the standard output.

The result schema can be verified by converting the schema back to AVSC format using official Avro Tools. Download avro-tools-1.10.1.jar. For example:

$ ./avsc2avdl original/some.namespace.RecordName.avsc > some.namespace.RecordName.avdl
$ java -jar avro-tools-1.10.1.jar idl2schemata some.namespace.RecordName.avdl
$ diff <(jq . original/some.namespace.RecordName.avsc) <(jq . RecordName.avsc)

The diff should be empty.

About

Avro Schema to Avro IDL converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 100.0%