Bull is a Node library that implements a fast and robust queue system based on redis. It is the recommended successor to Automattic's deprecated Kue. The next version of Bull, currently in development, is BullMQ.
Questions tagged [bull]
100 questions
0
votes
1 answer
Is there a way to pass command line arguments to node process while loading environment to child process for a job in bull?
I need to pass command-line arguments or params or execargv which should come in process params while loading environment for a child process which will be launched by a bull for process a job.
is it possible? if yes is there any way to do it?
I can…

Stephen
- 834
- 7
- 13
0
votes
2 answers
Ability to provide insights from Redis Bull Queue data
I have an application that makes API calls to another system, and it queues these API calls in a queue using Bull and Redis.
However, occasionally it gets bogged down with lots of API calls, or something stops working properly, and I want an easy…

Ben in CA
- 688
- 8
- 22
0
votes
1 answer
Ability to set TTL on Redis Queue using Bull?
I have an application using Bull for a queue. Is there a parameter that I can pass it to set a TTL (time to live) for each entry automatically when it's created?
const Queue = require('bull')
const webApiQueue = new Queue('webApi', {redis: REDIS_URL…

Ben in CA
- 688
- 8
- 22
0
votes
0 answers
Nest.js Bull queue consumer which only promotes delayed jobs to waiting
I have Nest.js application which is adds jobs to Bull queue with certain delay:
this.appQueue.add(
{
message: data,
},
{
delay: APP_DELAY,
},
);
Now this application doesn't have any consumer (ie. class decorated with @Processor()…

Furman
- 2,017
- 3
- 25
- 43
0
votes
0 answers
Node js Bull Queue
When I create a Bull queue object with out giving name , it will throw the below warning and successfully consumes the job.
UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]:
The first argument must be one of type string, Buffer,…

sunder thangaraj
- 1
- 1
- 1
0
votes
1 answer
Nestjs Schedule execute the queue one after another
I've 2 methods for importing products and inventory from json/csv. I've implemented the NestJS Bull Module for queuing the jobs. Both importing processes are running asynchronously and working fine. But Now I want to process the products import…

Niroj
- 23
- 2
- 8
0
votes
0 answers
Not able to rate limit bull queue
in order to manage the traffic and effectively process a particular message, /
we have implemented a rate limited bull queue :-
but we are not able to acheive rate limiting .
Here is my implementation , but rate limiting in this queue is not…

Harshit_Rana
- 59
- 2
- 7
0
votes
1 answer
How can I iterate over all queues registered in NestJs Bull?
I want to iterate over all queues registered in NestJs Bull and do something to each queue.
For example I already have this:
@Injectable()
export class BullUIProvider {
constructor(@InjectQueue('backfill') private backfillQueue: Queue) {
…

JCF
- 651
- 5
- 9
-1
votes
1 answer
How to wait until job is done by retries and don't try to run other jobs
I need to wait until current job will be done and don't run jobs which are also waiting to be executed.
When I throw new Error('test') current job(job1) will try to be executed again, because I set backoff and attempts and it is working, I can see…

Artem
- 364
- 2
- 18
-1
votes
1 answer
NodeJS Bull queue.add stringify data causing errors
I am trying something like:
queue.add('queue', {
someId: '123',
service: this.service, // a service injected into the class where queue.add is present
}, { // other opts });
I get the error:
(node:94191)…

Arjun Mehta
- 21
- 3