Slide 14
Slide 14 text
Event sourcing
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