Replies: 2 comments
-
Hi @nkgm, On separation of event sourcing and CQRS, event sourced state machines are state machines that reconstruct their state using events on read, meaning that each event models a transition to a new state; while CQRS state machines just manage their state directly on write, without any events and their transitions are not as well-defined compared to an event sourced state machine. Both can publish external notifications at every interaction (no matter if the command is accepted or not) with the aggregate. Also, about the first request, I would be glad to help, however I think it's out of the scope of the example for a couple of reasons:
Having said all of that, I would be happy to help if there are specific questions or problems. |
Beta Was this translation helpful? Give feedback.
-
Hi @hnaderi,
The
I guess the question then becomes: can we do this without a process manager, and how would we do it in a CQRS/ES About your other point, I do understand it's not within the scope of this library, but it would still be a valuable addition. As to it being confusing, On complexity and maintenance, I fully empathize and couldn't ask you to expend more time than you already have (even though a quick and dirty |
Beta Was this translation helpful? Give feedback.
-
Hi @hnaderi, thanks for publishing your work, it has been of immense help and a gold mine of information.
I was wondering if you could amend the
accounts
example with aTransferMoney
command, similar to the Process Managers example here.I am also a little confused about the separation between Event sourcing and CQRS style. I understand CQRS does not necessarily imply ES, and I found some explanation in another discussion, but it would be really helpful to also have a complete CQRS/ES example in the same
App
.Beta Was this translation helpful? Give feedback.
All reactions