Re: [akka-user] [Akka-persistence] Event sourcing and large modifiable entities

2014-07-14 Thread Javier Santos Paniego
Definitely we're not choosing the perfect granularity. I'll try to focus in meaningfull methods instead of isolated attribute changes. Thanks for your time, Konrad :-) El lunes, 14 de julio de 2014 13:51:35 UTC+2, Konrad Malawski escribió: > > Hello Javier, > It's a bit hard to answer on event

Re: [akka-user] [Akka-persistence] Event sourcing and large modifiable entities

2014-07-14 Thread Konrad Malawski
Hello Javier, It's a bit hard to answer on event design questions when we discuss "Entity" and "Event" :-) But in general these events should have some meaning, not only "AttributeUpdated" - as in "BughtItem", "ShippedThingy", "ConfirmedPayment". Play around with the granularity of your events, ma

[akka-user] [Akka-persistence] Event sourcing and large modifiable entities

2014-07-14 Thread Javier Santos Paniego
Hi, I have a modifiable entity with lots of attributes that might be values(like dates) or entity references : case class Entity(attribute1: String, attribute2: Int, ..., attribute22: Boolean) My question is: If I follow DDD and Event sourcing philosophy, should I have an action and an event