weyoss / redis-smq

A simple high-performance Redis message queue for Node.js.
MIT License
588 stars 64 forks source link

consumer for all queues #101

Closed marcoScrJ closed 1 year ago

marcoScrJ commented 1 year ago

there isn't a way to create a consumer that consumes messages from all existing queues, is possible to do something like this? In this way every new queue i add to redis will be automatically consumed by this consumer

weyoss commented 1 year ago

@marcoScrJ Thank you for opening this issue.

No, it is not the way the MQ queue works and technically is not possible.

weyoss commented 1 year ago

A consumer may consume message from many queues as you want but you need manually to construct it to do so. It can not automatically catch messages from every new queue.