I am using avro schema. Which looks like below.
{"name": "TestingData","type": "record","namespace": "com.avro.testing","doc": "testing information","fields": [{"name": "testingId","type": ["string"],"doc": "the unique identifier for the testing"},{"name": "displayName","type": ["string","null"],"doc": "the display name of participant"},{"name": "updateTimeMillis","type": "long","doc": "timestamp at which testing started."}]}
Using various codecs available in redisson, I am storing the above object.Now If I make a change in the schema(adding a new field), I am getting a deserialization exception, while retrieving old object back.How can I make it work?I have tried using AvroJacksonCodec, SerializationCodec, MarshallingCodec.I have read that using kryoCodec it is possible. But could not find any working demo.JsonJacksonCodec has some issues with org.apache.avro.util.Utf8. So that is also not helping in schema evolution.