Re: Adding a new field in java class -> restore fails with "KryoException: Unable to find class"

2018-03-16 Thread Stephan Ewen
Hi! Schema evolution is a bit tricky at the moment. There is a short term and long term answer to this: - Long term: We store serializer configuration in the snapshots, and want to use this in the future to offer a path that converts old format to new format (read with old serializer, pass thro

Adding a new field in java class -> restore fails with "KryoException: Unable to find class"

2018-03-16 Thread Juho Autio
Is it possible to add new fields to the object type of a stream, and then restore from savepoint? I tried to add a new field "private String" to my java class. It previously had "private String" and a "private final Map". When trying to restore an old savepoint after this code change, it failed wi