taskforcesh / bullmq

BullMQ - Message Queue and Batch processing for NodeJS and Python based on Redis
https://bullmq.io
MIT License
5.89k stars 380 forks source link

[FR] broadcast job #2651

Open Diluka opened 1 month ago

Diluka commented 1 month ago

Is your feature request related to a problem? Please describe. I want a job that can be processed by all workers at the same time

Describe the solution you'd like Add a job to the queue, and each worker can pick and process it. and collect each worker's result. Working like QueueEvents. Results are how many workers are there when adding job, each worker's job status(result, reason, attempts...)

Describe alternatives you've considered Like EventEmitter but cross nodes and keep status.

Additional context

manast commented 1 month ago

I think standard Redis Pubsub basically does this already, does it not work for your use case?