avsc
avsc copied to clipboard
Support Avro 1.9.0 Specification
Add support for Avro 1.9.0 Specification.
Thanks
Is there a feature (or several) in particular that you are interested in?
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
I took a quick look at the latest specification and it looks like the only updates are:
-
Single object encoding (actually introduced in
1.8.2
) - A new UUID logical type
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 Do you have any plans to add the logical type for UUID? It would be really nice to have this.
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
@mtth do you plan to support single object encoding in avsc ?