This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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)). |