Hi Prakhyat,
On Wed, Aug 27, 2014 at 2:00 PM, Prakhyat Mallikarjun <[email protected] > wrote: > Team, > > I want to understand what is event version in Akka Persistence? > Event version is something you add to events when defining the binary format of them. Akka itself does not add any version information, it is the responsibility of the user to add such information to the persisted events -- usually using a custom serializer that handles versioning. > > What is the impact of changing event structure on akka persistence? > You can use your own serializer to specify the binary structure of your events on disk. If you use an encoding format that supports forward/backwards compatibility (protobuf for example) and you take care when designing the binary formats, then you can ensure format evolution -- but it has to be done by your serialization logic. > > If we take DDD/CQRS approach of building app, how event version is related > to evolving schema? > It is somewhat analogous to an evolving schema. If you look at the journal in an abstract fashion, it is basically a table where the records (rows) are events. By changing the event formats you are basically modifying the columns in this table (adding fields, removing fields, changing fields, etc.). -Endre > > -Prakhyat M M > > -- > >>>>>>>>>> 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. > -- Akka Team Typesafe - The software stack for applications that scale Blog: letitcrash.com Twitter: @akkateam -- >>>>>>>>>> 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.
