Wildcard support for job processing
I didn't see this in old issues, so I just want to propose it:
queue.process('notifications:*', function (job, done) {
email(job.data.to, done)
})
Alternatively, any idea about getting a similar approach with the existing features?
this has been discussed before @h2non and was one of my very first proposals early 2012, However we should remember that Kue is a job queue, not a MOM, nor a pub/sub framework. this is not also easy to implement wilcard job pullers on redis. Can you point me to a job/task queue with wilcard feature (especially on redis) ?
Alternatively, any idea about getting a similar approach with the existing features?
I myself always rethink my problem domain, and redesign it with in-hand tools and frameworks. there should exist other ways of implementing what you want. So what dya need this for actually?
I join this feature request.
So what dya need this for actually?
@sebastianarena answers your question in this issue https://github.com/OptimalBits/bull/issues/1081#issue-368697657
If you could help with redesigning such type of task, i would be very glad to hear the solution :)
any update on this issue ?
also: is it currently possible to have a worker process all jobs on a specific queue ?
say i have job "A123" and "B232323" on queue "Q1" can i use one processor for both jobs or should the names be explicitly used ?