-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Is your feature request related to a problem? Please describe.
Currently, when a task arrives with no corresponding handler registered, the worker silently logs the issue and ignores the task. This can lead to missed tasks and makes it hard to track and troubleshoot unhandled tasks.
Describe the solution you'd like
I would like to implement a Dead Letter Queue (DLQ) mechanism. When a task arrives with no handler, it should be published to a special deadletter queue (e.g., :deadletter) for later inspection. This would allow for easier debugging and tracking of unhandled tasks.
Describe alternatives you've considered
I’ve considered just logging the unhandled tasks and ignoring them. However, this approach doesn’t provide a way to inspect or retry those tasks, which can lead to confusion if they are important tasks that are simply missing handlers.
Additional context
It would be ideal to implement the DLQ in such a way that tasks that cannot be processed are pushed to this new queue and can be reviewed and handled later, perhaps by adding a retry or manual intervention process.