Consider rephrasing the handleMessageTimeout
doc?
#522
Frederick888
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Background
AFAIU TimeoutError is not much different from regular processing errors, except for the fact that it emits a
timeout_error
event.However
handleMessageTimeout
says:To me, especially in the context of a FIFO queue, this sounds like that sqs-consumer will send a new message containing the same attributes and payload, then delete the original message.
I guess part of this is because 'the end' of the queue is unclear to me. According to https://en.wikipedia.org/wiki/Queue_(abstract_data_type)
Though in terms of a regular SQS queue, message aren't even always ordered in the first place (messages may occasionally arrive out of order. Despite this, standard queues make a best-effort attempt to maintain the order in which messages are sent). So perhaps it's better to simply avoid talking about front/back.
May I recommend changing this to:
Objectives
handleMessageTimeout
Beta Was this translation helpful? Give feedback.
All reactions