Skip to content

Dead letter handling #361

Answered by bgentry
ewhauser asked this question in Q&A
May 18, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Hi @ewhauser! After a job has run out of attempts, it is moved to the discarded state. This means no further attempts will be performed on that job. It will also be pruned from the jobs table after the DiscardedJobRetentionPeriod has elapsed.

You have the opportunity to take an action when the job errors for a final time using an error handler, or you can write your own logic to periodically look for discarded jobs and then alert you or whatever you’d like to do in response to those.

Let me know if you have any ideas on how this could be made clearer in the docs! One thing I know we’re missing is higher level stuff like just describing all the different job states, and the general flow th…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by bgentry
Comment options

You must be logged in to vote
2 replies
@bgentry
Comment options

@ewhauser
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #360 on May 18, 2024 22:45.