Open SarahTeoh opened 2 years ago
Just add a sqs-plain2 driver in the config?
specify comma-separated queue 'name' in command like below
php artisan queue:work sqs-plain --queue=high-priority-queue,low-priority-queue
'name' is just queue name of SQS(after prefix). and you don't have to define name in config(config is just default value)
if you want to listen to multiple queue across prefix (across region), maybe you cannot do it in one command. so you need to define another driver, and manage priority yourself
In the README, you mentioned that the config matches SQS queues with handler classes.
However, in the
config/queue.php
example, you only specify one queue prefix.How to listen to multiple SQS queues? Do I need to write extra configuration to listen to multiple queues?