Handling multiple local steps in a row
cer opened this issue · 0 comments
cer commented
This won't work as intended. The steps will be executed one after the other. But there is no guarantee that the saga will be completed successfully/compensated if any kind of failure occurs. Local and non-local steps should be interleaved.
Either:
- Not support this and throw an exception. The workaround would be to define non-local steps.
- Implement an internal messaging-based mechanism to drive the execution of local steps.