thenativeweb / node-cqrs-domain

Node-cqrs-domain is a node.js module based on nodeEventStore that. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
http://cqrs.js.org/pages/domain.html
MIT License
269 stars 57 forks source link

Ensuring transaction consistency across multiple processes #119

Open xander-mbaka opened 6 years ago

xander-mbaka commented 6 years ago

Hi,

What is the best way to ensure transactions complete successfully across domain, saga and view model (one originating command, multiple subsequent commands from saga and multiple events)

adrai commented 6 years ago

there is no transaction consistency in cqrs... you need to handle all the possible fails via saga processes or external "fix" routines...