I’m integrating the SagaStore and EventStorageEngine components to our system,
And I’ve encountered a serious (and one that was destined to happen) problem when trying to serialize Sagas.
Currently I’m using the XStream serializer, which fails to serializes Sagas due to them having Avro objects, which have proven
To be not easily serializable (as they are not POJOs).
Has anyone encountered this case (working with Kafka of course), and managed to found a good solution, or at least a workaround?
I’m considering creating an XStreamSerializer that preprocesses the sagas to convert Avro objects to/from strings on serialization/deserializations.
Would love some help with this!