从 node.js worker 以指数退避重试 Celery 任务

Retry Celery tasks with exponential back off from a node.js worker

Celery task queue manager there is 中使用 Python worker 进行延迟重试的方法。

node.js 工作人员有办法做到这一点吗?

提示:描述了 node.js 通过 AMQP 的工作者方法 here

由于通信协议是 AMQP,因此有一个模块可以利用 expiration AMQP 功能 - https://github.com/lanetix/node-amqplib-retry

在撰写本文时,该模块大约有一年没有得到支持。