Is there a Java API that would verify whether a submitted text is a valid Avro schema? I think one can generate a class file invoking:
java -jar /path/to/avro-tools-1.9.2.jar compile schema <schema file> <destination>
But I am looking for more in-process programmatic validation.
Maybe it solves the problem to run
https://avro.apache.org/docs/1.9.2/api/java/org/apache/avro/tool/DataFileGetSchemaTool.html
"in-process".
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.