I have the same problem: <https://stackoverflow.co...
# help
t
I have the same problem: https://stackoverflow.com/questions/71449349/making-sqs-message-visible-again-using-partial-batch-response I have a queue and I return
batchItemFailures
to mark failed messages. I assumed SQS will retry them immediately but it doesn’t, it shows them “in flight” until their visibility times out. What am I missing?
f
Have you a dead-letter queue attached to your queue?
t
Not yet. But I don’t want the failed messages to go there, I want to retry them a few times. The problem is that SQS won’t retry the messages I marked as failed before visibilityTimeout expires - even though I know the consumer failed to “consume” these messages so it would be safe to retry them immediately.
f
@Tamás Krasser does this happen locally (ie.
sst start
) or after u deploy (ie.
sst deploy
)?
t
Locally
I'm not sure if this is a limitation of SQS or sst