Skip to content

Instantly share code, notes, and snippets.

// In build.sbt: libraryDependencies += "org.apache.avro" % "avro" % "1.11.0"
/*
In org.apache.avro library there are two different versions of checking schema compatibility:
(1) SchemaValidator.validate
(2) SchemaComatibility.checkReaderWriterCompatibility
The first is deprecated, and not aligned with the second (for example changes to enums are completely ignored in (1)).