Slide 2
Slide 2 text
Event sourcing explained
accountId Balance owner
1234567 0 Michiel
Current state Event stream
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
[Fowler, 2005] http://martinfowler.com/eaaDev/EventSourcing.html