Deprecate message queue type (#10040)

Not removing all the code for now, maybe we should 🤔
This commit is contained in:
Félix Malfait
2025-02-06 16:06:54 +01:00
committed by GitHub
parent adc6dd5c07
commit f40d7e2ba8
16 changed files with 24 additions and 77 deletions

View File

@ -7,9 +7,7 @@ image: /images/user-guide/emails/emails_header.png
Queues facilitate async operations to be performed. They can be used for performing background tasks such as sending a welcome email on register.
Each use case will have its own queue class extended from `MessageQueueServiceBase`.
Currently, queue supports two drivers which can be configured by env variable `MESSAGE_QUEUE_TYPE`.
1. `bull-mq`: this is the default driver, which uses [bull-mq](https://bullmq.io/) under the hood.
2. `pg-boss`: this uses [pg-boss](https://github.com/timgit/pg-boss) under the hood.
Currently, we only support `bull-mq`[bull-mq](https://bullmq.io/) as the queue driver.
## Steps to create and use a new queue