On 08.05.14 10:43, Tim Pigden wrote:
Hi
I've found a new thing to worry about :-)
If I use an eventsource model and content myself with the default
serialization and akka persistence, what's the likelihood of my
serialized objects becoming unreadable in the future? What's the
long-term stability of the default akka serialization mechanism?
By default, events are serialized with Akka's Java serializer.
Is there a recommendation?
Use a custom
<http://doc.akka.io/docs/akka/2.3.2/scala/persistence.html#custom-serialization>
protobuf (or similar) serializer to serialize your events. This will
support backwards compatible changes to your event schema.
Tim
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google
Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.
--
Martin Krasser
blog: http://krasserm.blogspot.com
code: http://github.com/krasserm
twitter: http://twitter.com/mrt1nz
--
Read the docs: http://akka.io/docs/
Check the FAQ: http://doc.akka.io/docs/akka/current/additional/faq.html
Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.