Replies: 3 comments 1 reply
-
Not sure I understand what you mean. In BullMQ you can define workers as separate entities as many as you want. |
Beta Was this translation helpful? Give feedback.
-
I mean, I want to let my main application to produce jobs and I want to have a dedicated instance to consume jobs as background jobs. For that, I'm creating a "worker" (my dedicated instance) as standalone application with |
Beta Was this translation helpful? Give feedback.
-
hey, I guess you need this: |
Beta Was this translation helpful? Give feedback.
-
Hi 👋
Thanks for your work!
I currently have an NestJS Application which uses my BullMQ Module. I'm creating a
worker.ts
to only consume jobs.I've in mind to create a
dynamic module
and only allow my NestJS application to produce jobs and my worker to consume jobs.I looked for an option to change in the
config
of BullMQ but found nothing so far.Is there a way to handle this case with BullMQ or is there something in the roadmap to handle this?
Thanks a lot for your time and have a nice weekend!
Beta Was this translation helpful? Give feedback.
All reactions