avsc icon indicating copy to clipboard operation
avsc copied to clipboard

Support Avro 1.9.0 Specification

Open cristianbriscaru opened this issue 5 years ago • 6 comments

Add support for Avro 1.9.0 Specification.

Thanks

cristianbriscaru avatar Jun 13 '19 14:06 cristianbriscaru

Is there a feature (or several) in particular that you are interested in?

mtth avatar Jun 15 '19 01:06 mtth

Hi @mtth , thanks for this amazing library. The features I am interested in are to be able to serialize/deserialize Avro 1.9.0 . We use avsc to deserialize/serialize kafka messages on node.js microservices but we also have some microservices in java and the java team is pushing to upgrade to Avro 1.9.0 Specification . Thank you

cristianbriscaru avatar Jun 24 '19 17:06 cristianbriscaru

I took a quick look at the latest specification and it looks like the only updates are:

Unless you use one of these two features, you can already upgrade. Encodings and schemas are compatible between the two versions (so you'd still be able to decode data encoded by Java services and vice-versa for example).

mtth avatar Jun 26 '19 04:06 mtth

@mtth Do you have any plans to add the logical type for UUID? It would be really nice to have this.

jhartzell avatar Aug 29 '19 19:08 jhartzell

I think another new feature introduced with 1.9.0 is the default property for enums (define a default enum value if an unknown value is provided). https://avro.apache.org/docs/current/spec.html#Enums

daMupfel avatar Nov 14 '19 09:11 daMupfel

@mtth do you plan to support single object encoding in avsc ?

jeduden avatar Mar 29 '21 11:03 jeduden