I’m using SQS fifo with a dead letter queue with Lambda. My maxReceivecount is 1 and visibility timeout is 15 minutes.
When one message fails with a runtime exception, it is not immediately removed to the dead letter queue, it waits 15 minutes. Also I am noticing other messages with the same group id are not being processed until visibility timeout passes which is an even bigger issue. Is there a way to make a failing message go immediately to the dead letter queue upon failure and immediately process valid messages from the same group? I cannot afford to wait for the visibility timeout(15 minutes) to pass to process other messages from the same group.