99 Bottles flow runs only on one conductor/worker.
Hi Dear,
The example of `99 Bottles song` runs only on one conductor/worker.
- Started `python 99_bottles.py c` on two different shells.
- Then posted a work using `python 99_bottles.py p` command.
- Now, I could see only one process of started as consumer (`python 99_bottles.py c`) is running the tasks one by one.
- Second consumer runs only when new job is posted or first consumer is terminated.
Is this is expected behaviour or both consumer processes should run tasks in parallel ?
I also tried changing the workflow from linear to unordered with a sleep of 1 sec for the tasks. But still they run (unordered) one by one on the same consumer.
If you could tell me what I am doing wrong or if you could point me to an example of parallel workflow with zookeeper(or any broker) that would be a great help.
Thank you very much.
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- taskflow Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: