Skip to main content
nestrs queues-redis uses LPUSH/BRPOP envelopes. Node @nestjs/bullmq workers speak the BullMQ key layout. nestrs-bullmq is a Redis producer that writes jobs those workers can pick up. It does not run a Rust BullMQ worker.

Install

The queues feature is optional. Use it for in-process nestrs processors; use this crate when the consumer is BullMQ (often Node).

Enqueue a job

add INCR’s {prefix}:{queue}:id, HSETs the job hash, then LPUSHes the id onto {prefix}:{queue}:wait.

Key layout

Prefix defaults to bull (BullMQ): Override the prefix when the Node app uses a custom prefix in BullModule.forRoot.

Compared with queues-redis

See QueuesModule for the in-process / queues-redis path.