|
|
|
|
|
by throwup238
248 days ago
|
|
Any problem with event sourcing can be solved with more events (said semi-sarcastically). In this case it’s XTransactionStarted, XTransactionDepositConfirmed, and XTransactionCreditConfirmed or something along those lines. External interactions tend to follow that kind of pattern where it tracks success/failure in the domain events. The command side of CQRS tends to be the services that guarantee ordered events either via the backing database or with master-slave topology. |
|