If a job exceeds its custom retry limit will it be sent to the DLQ? #7
mpvosseller
started this conversation in
General
Replies: 2 comments 1 reply
-
That's a great question! Also, I think your assessment is right. Here is my hot take and I'd love your thoughts.
Once we come up with some ideas and paths. Maybe we can do them and document them. Thoughts? |
Beta Was this translation helpful? Give feedback.
1 reply
-
None of my errored messages are stored in the DLQ and I haven't defined a custom retry limit. Is it possible that Lambdakiq does not return the correct error message to SQS so it can put the errored message in the DLQ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If a job has a custom retry limit (less than the default) and its limit is exceeded will it be delivered to the DLQ?
Tracing through the code here it appears to me that in this case
change_message_visibility
returns false anddelete_message
is called. That I assume will prevent it from being sent to the DLQ.I was looking at this code because I wondered how you handle sending a job to a DLQ when a job's retry limit is less than the queue's MaxReceiveCount.
Beta Was this translation helpful? Give feedback.
All reactions