Questions tagged [bull-queue]
41 questions
1
vote
1 answer
How to dynamically register queues to nest js bull queue
When you know the list of queues to be registered, you can add them using registerQueue() in nestjs module instantiation but how to dynamically register a queue, for eg. if I have a multi tenant architecture, when a new tenant is created I want to…

Manikandan S.P
- 21
- 1
- 2
1
vote
1 answer
How can I connect redis cloud instance to bull queue?
I am trying to connect redis free cloud instance with bull queue but getting error as it is not able to connect.
I tried below code:
const Bull = require("bull");
const emailQueue = new Bull("email", {
redis: "",
});
For above code it is giving…

aryat
- 83
- 8
1
vote
1 answer
Bulls Queue Performance and Scalability: Queue.add(), Queue.getJob(jobId), Job.remove()
My use case is to create dynamic delayed job. (I am Using Bulls Queue which can be used to create delayed Jobs.)
Based on some event add some more delay to the delayed interval (further delay the job).
Since I could not find any function to update…

Mohd Waseem
- 1,244
- 2
- 15
- 36
1
vote
1 answer
Object no longer instance of Class after adding to Bull queue
In the handler of my Fastify route, I'm adding to my Bull queue an object of a class. In the queue's process method, this object is no longer an instance of the class. Is this normal or am I missing some (or a lot) of the basics?
const fastify =…

Neil P.
- 1,026
- 2
- 15
- 32
1
vote
2 answers
How to stop bull queue from automatically restarting jobs when restarting the server
I am using the bull queue to process jobs.
Let's say a job is running with a status of active when I restart my dev server. When the worker script starts up again, the process is still set to active in the queue, so bull decides to start up the…

code2infinitE
- 13
- 1
- 6
1
vote
2 answers
How to send data from laravel to a redis queue implemented using Bull queue
I have implemented Bull queue in nestjs project but want producer to be a laravel project.
I use following command to produce
Redis::command('zadd', ['bull:test:delayed', 1, $data]);
and at consumer use
@Processor('test')
export class…

shivamkss
- 143
- 4
1
vote
1 answer
NodeJS Bull Stop the queue jobs on a job failed
I have multiple Bull Queues in my NodeJS project which will run if previous queue is executed successfully.
I'm trying to verify some email addresses here.
Check the Email format (formatQueue)
Email Existence using npm email-existence package…

rakcode
- 2,256
- 4
- 19
- 44
0
votes
0 answers
how to get jobId for failed jobs that are moved from stalled jobs on bullMQ?
I was trying to run jobs which were CPU intensive and I was getting a "Error: job stalled more than allowable limit" error.
I tried increasing the lock time but with increased load, the error persisted. I then used worker threads and wrapped the…

Ashfaq Ur Rahman N
- 302
- 2
- 8
0
votes
2 answers
Access User auth data in entity when using bull queues in nestjs
Hi I'm having issue with getting logged in user auth data to store creator user id while saving the record, its working fine when I save in db with normal api requests but when adding task to queue it is not able to get user data while saving to db,…
0
votes
0 answers
Bull Queue events: can i emit events between bull processors holding references to each other's queues?
I want to emit user defined events on Bull queue event emitter to be intercepted across Queues (and processors), but events appear not to work across processes.
I am using the Bull nestjs wrapper library but I think this is a Bull Queue issue not…

Laurence Fass
- 1,614
- 3
- 21
- 43
0
votes
0 answers
how to consume messages in C#, produced by bull library in node?
I have an API in nodejs producing messages using the bull library, but instead of consuming using nodejs I would like to do a test consuming these messages in c#
does anyone know how to do it?

Matheus Henrique
- 1
- 2
0
votes
0 answers
Is it possible to distribute jobs in a Single Queue to multiple nodes in a Redis Cluster?
We are using Bull Queue delayed job feature to create timer for each user to do some specific tasks.
Our use case requires to create one job per user. Running at SCALE, we believe that vertically scaling a single REDIS machine will pose us a…

Mohd Waseem
- 1,244
- 2
- 15
- 36
0
votes
0 answers
Bull dashboard doesnt show failed jobs
The bull dashboard doesnt display the failed jobs ,but just displays count with some pagination

Yashwanth Kata
- 817
- 8
- 21
0
votes
0 answers
Multiple jobs for same processor not working
If you try adding multiple jobs for the same processor, then the jobs are getting added but not processed. Most of the time only one of added jobs gets processed. I want all the added jobs to be processed, I even tried with delay, but still the…

Sandesh Bhoir
- 51
- 1
- 11
0
votes
1 answer
How does npm bull reads delayed jobs without using cron?
I was recently looking at npm bull package to use for delayed jobs. I can see that for delayed jobs it is using redis sorted set and mapping the value of the job to a hashset in redis. But I fail to understand how does the process receives the…

isnvi23h4
- 1,910
- 1
- 27
- 45