Hello DDDlers,
But I'm missing some pieces here and would be very happy about any feedback:
For example he writes:
"Note that Event Sourced Process Managers tend to only receive and raise events, they will not as example open up a HTTP connection and directly interact with some thing directly"
But now I wonder how these side effects (like dispatching emails, ...) would be implemented.
Is the idea to publish an event along the lines of "EmailDeliveryWasScheduled" and another Event Listener would then actually send the email?
Also, the dummy test example is quite straightforward but I wonder how this PM would actually be work in action.
So if a relevant event was published the PM is reconstituted from all previous events with the same correlation id and the new event is applied? But then the PM events would be published multiple times. Or would you need to differentiate between "replay" and actual event handling?
Also, where would I know to which *stream* to publish the event to?
Thank you in advance,
Bastian