Skip to content

[FEATURE] - Add Dead Letter Queue (DLQ) for Unhandled Tasks #3

@KengoWada

Description

@KengoWada

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions