Automattic / Automattic/kue

Wildcard support for job processing

Open
#586 3 comments 4 reactions 0 assignees View on GitHub
Question
Dominant language
JavaScript
Stars
9.4k
Forks
858
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the queue.process entry point and trace how named jobs are currently matched and dispatched. Check the existing processing behavior before deciding how wildcard patterns should interact with exact names; done means a pattern such as notifications:* consistently selects the intended jobs without breaking existing processing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, redis
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.