Generate Avro file based on java file

2019-08-23 14:16发布

问题:

There are plugins that can generate java file using Avro schema. Is there a reverse of that? I would like to generate Avro schema based on java file.

回答1:

Kite SDK has a lot of useful things to work with Avro Schema. Take a look to this

http://kitesdk.org/docs/1.1.0/Inferring-a-Schema-from-a-Java-Class.html