0

sqs has inflight message limit of 120000. If sqs worker/consumer receives the message and change the visibility timeout of message but don't delete it. Will it be still counted as inflight message after changing visibility timeout?

If visibilityTimeout of message is changed using receiptHandle is it possible to delete the sqs message using same receiptHandle?

1
  • 1
    Hi. I've noticed that you have lots of questions with answers, yet only two has ever been accepted. Accepting good answers is not only a good practice, but it also reduced duplicates and makes your questions more likely to be answered.
    – Marcin
    Commented Aug 4, 2021 at 11:29

1 Answer 1

1

Will it be still counted as inflight message after changing visibility timeout?

Yes, because it has been received and not yet deleted or it has timeout.

is it possible to delete the sqs message using same receiptHandle?

Yes.

Its a common pattern to keep extending the visibility timeout of messages while you are processing them and you don't know up-front how much time you need for that.

Not the answer you're looking for? Browse other questions tagged or ask your own question.