Hi, i have an architecture based on pub/sub and have multiple containers.
Each container basically listen the topic for new messages, when he gets one, run a Workflow instance.
Now, the worflow has different activities (read/write from db, from filesystem ecc.).
The problem seems to be that a workflow sometimes does some activities on 1 container and some other on another container.
This of course is a problem, since the Files to upload / download are saved on filesystem of the first container, so if another container execute the part of upload without have the file on its filesystem the Worflow execution fails.
My questions is:
- Is possibile to create some kind of “transaction”, meaning “all this part must be executed totally by 1 worker”