erlavro icon indicating copy to clipboard operation
erlavro copied to clipboard

Would be nice to have support for Avro IDL schema format (.avdl)

Open seriyps opened this issue 6 years ago • 2 comments

Avro schemas can be defined in 2 formats: json and Avro IDL. erlavro currently supports only JSON version.

Maybe it would worth to have support for avdl also?

seriyps avatar May 15 '18 14:05 seriyps

Hi @seriyps we do not have plan to support it in the near future.

zmstone avatar May 24 '18 12:05 zmstone

We use the IDL as well; it helps us with forward and backward compat checking as schemas advance forward. Currently with erlavro we just hit the schema-registry and pull the generated JSON out and use that to deserialize messages.

It works pretty well - but we do run into type issues like in #70 sometimes. The IDL generates JSON which maybe follows spec; we seem have the most trouble with the defaults around primitives.

randysecrist avatar Jun 15 '18 05:06 randysecrist