This project provides a full implementation of the data-types defined in the Segment Spec in AVRO (1.8.x).
To build the AVRO classes run:
$ mvn compile
To execute all tests run:
$ mvn clean test
The test framework by default will try to find a valid AVRO schema for each event (.json
file)
that is placed in ./testCases
and check that serializing the given
JSON to AVRO and subsequent deserialization of the AVRO encoded data happens without data loss.
If you wish to add a new test event, simple put it into a new file in ./testCases
and ending in .json
and the integration tests will pick it up automatically.