Hi Richard,
mapping event/message versions is best done in custom serializers
<http://doc.akka.io/docs/akka/2.3.0-RC4/scala/persistence.html#custom-serialization>.
You can use protobuf or a similar library of your choice to read events
in a backwards compatible way. In the same way you can also use custom
serializers for snapshots. Ignoring events from a message stream
(filtering) or aggregating events cannot be done on serializer level.
This must be done on (eventsourced) processor level.
Cheers,
Martin
On 26.02.14 18:53, Richard Rodseth wrote:
Now that we're getting excited about using akka persistence for
event-sourced DDD applications, can anyone provide any insights or
resources about handling versioning? Anything specific to akka
persistence? For example I have a book (produced by Microsoft) that
talks about mapping/filtering events in the infrastructure before they
reach the domain. How would we do that with akka persistence?
Thanks in advance.
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> 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/groups/opt_out.
--
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://akka.io/faq/
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/groups/opt_out.