I'm using Celery with RabbitMQ and I have a chain with 4 tasks and a group. The group is at the top of the chain and has around 1k tasks in it.
I have the dead letter queue setup and it works as expected with the individual tasks.
Whenever a task fails within the group, it goes to the dead letter queue, however the rest of the chain gets lost.
Chain:
- group(a, b, c, d, e)
- task x
- task y
- task w
- task z
I want all of those tasks in the group to run in parallel, go to the dead letter queue if anything happens and move the chain task along with it (this could be after all the tasks run in the group). Is there any way of doing this? If not, what is the alternative way of achieving a recoverable chain with a group in it?