6 ms·
But also has a schema language, and a avro.reflect which can construct schema from java class. Avro schema in Json is very unreadable in my experience. Anothe
by never_inline 3y ago
But also has a schema language, and a avro.reflect which can construct schema from java class.
Avro schema in Json is very unreadable in my experience.
Another bad thing is something like ["int", "null"] gets formatted over 2 lines by standard JSON formatters, making it even harder to read.
- thayne 3y ago> But also has a schema language, Really? I admittedly don't know a whole lot about avro, but everything I've been able to find about avro schemas uses json. Edit: I found it: https://avro.apache.org/docs/1.11.1/idl-language/ https://avro.apache.org/docs/1.11.1/idl-language/
- never_inline 3y agoYeah JSON is usually the way it's written. IIRC the IDL even lacks some features of JSON. But the fact it exists means at least some people find JSON verbose.