These are chat archives for RBMHTechnology/eventuate
Global-scale event sourcing and event collaboration with causal consistency
I’m kinda new to event sourcing, and I was wondering how to solve the following scenario: Let’s say you have an event
case class UserAdded(user: User), and
case class User(username:String, birthday: Date).
Your app has been running for a while and now the customer wants to collect the Users’ phone number. So now we would change
case class User(username:String, birthday: Date, phoneNumber: String).
When the events are replayed, it will throw an error because past events didn’t have a
phoneNumber. How do you usually workaround this issue in a event-sourced application?
Any input is much appreciated!