I don't quite understand the compatibility issue here. Looking into AVRO-2579, it seems that only the order of fields returned will be different. We don't depend on the ordering for the compatibility checks.
Can you explain more about the compatibility issue you refer to? Thanks, Sijie On Mon, Mar 15, 2021 at 3:52 AM Enrico Olivelli <eolive...@gmail.com> wrote: > Hello, > I am working on the upgrade of Avro from 1.9 to 1.10.1. > > I noticed a bad behaviour change about Schema.AVRO(Pojo.class). > Basically the new Avro version creates the Schema by sorting the > fields in alphabetical order and this is an incompatible schema > change. > > More details here > https://github.com/apache/pulsar/pull/9898 > > and here > https://issues.apache.org/jira/browse/AVRO-2579 > > Am I missing something? > > Thoughts ? > > Enrico >