I have multiple docker containers that consume jobs from the same queue of redis kue. The problem is that they work on the same jobs. My need is on of the containers work on a job and after it finish some other container work on the job after that. The order of the jobs is important.
If I can't do it in redis kue but can with other queue managers (like kafka) it will be good as well
What i do is to keep a state machine using switch case:
The other thing you can do is use Async, it has been covered many times in this site