问题
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
来源:https://stackoverflow.com/questions/45700725/generate-avro-file-based-on-java-file