Skip to content

Queue management #2927

Closed Answered by fedorstepanovv
fedorstepanovv asked this question in Q&A
Nov 22, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I found the answer here. https://stackoverflow.com/questions/75205587/bullmq-add-jobs-to-queues-from-different-service-to-worker. So basically we can easily register the same queue in different places, because queue is an instance of facade class that serves as an api to add jobs to queues in Redis, not the queue itself.
So it's ok for each service to have their own instance of such facade, as the source of truth is Redis.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@fedorstepanovv
Comment options

@manast
Comment options

@fedorstepanovv
Comment options

Answer selected by fedorstepanovv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants