When running the nuxeo-stream (TestLoadDump for instance) unit tests on a Macbook M1 we get the following exception:
org.apache.avro.AvroRuntimeException: Unrecognized codec: snappy at org.apache.avro.file.CodecFactory.fromString(CodecFactory.java:144) at org.apache.avro.file.DataFileStream.resolveCodec(DataFileStream.java:145) at org.apache.avro.file.DataFileStream.initialize(DataFileStream.java:131) at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:106) at org.apache.avro.file.DataFileReader.<init>(DataFileReader.java:93) at org.nuxeo.lib.stream.tests.tools.TestLoadDump.testReadDump(TestLoadDump.java:78)
This is due to an incompatibility of the org.xerial.snappy:snappy-java:1.1.7.3 artifact with Macbook M1. The version 1.1.8.2 brings support to this architecture.
We should upgrade this dependency.