Migration from XStream to Jackson

Hello Everyone,

as my team and I want to move one from XStream towards Jackson within our RDMS persistence, we are looking how to migrate our existing event into a new event store. Challenges are keeping additional event informations (meta data) as different versions of events without upcasting them.

Right now I am trying to read the XStream events within an event processor and pass them them into the new event store (different table). But that leads to some implicit upcasting through deserialization into new versions of the event classes.

Has anyone done something similiar maybe? Are there any caveats I am missing?

Thanks

Daniel

Hi Daniel,

I think the implicit upcasting could be a nice bonus. What is your worry about implicit upcasting?