Slide 5
Slide 5 text
Event sourcing 101
Event
BankAccountCreated
(accountId: 1234567, balance: 0, owner: Michiel)
DepositPerformed
(accountId : 1234567, amount: 100, balance: 100)
WithdrawalPerformed
(accountId: 1234567, amount: 50, balance: 50)
OwnerChanged
(accountId: 1234567, newOwner: Marten)
accountId balance owner
1234567 50 Marten
Current state Event sourcing
M. Fowler, “Event sourcing,” http://martinfowler.com/eaaDev/EventSourcing.html, 2005.