-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem: Dealing With the Outside World (we need to get something done in the outisde world) #46
Comments
Is there any referential implementation of requested pattern? I would assume this pattern is part of the infrastructure? (or this is an incorrect assumption?) How the result of that communication could be express in a domain? (probably event?) |
Not necessarily infra , it's always dependent on the type of process behind the scene, |
Ok I think I understand do we have any referential implementation? |
There are abstract entities in lots of businesses that do represent a form of saga pattern (with names like "booking" or "transaction" etc.) and for these the state of them depends on what is going on with external (to them) factors. By having a x requested event you can get the state of the saga in terms of "was everything I need done completed" because if the number of requests exceed the number of responses then we are waiting for something. Dealing with non response to a request is an issue though - do you go with a timeout on the abstract entity (source) side and add a "No response to request" event which then triggers the compensating actions required to undo the saga-style entity? |
As in ... some call needs to be done to say a payment gateway
Options:
The text was updated successfully, but these errors were encountered: