a little question about SQS message concurrency.
scenario:
i created lambda with 3 minute timeout.
this lambda triggered by SQS service (with default configuration).
when SQS trigger my lambda he waiting X second (under 3 minute).
after waiting, he run the same lambda again.
now, i have two lambdas run in the same time.
for this case, in the end - lambda_1 is failed and lambda_2 Succeeded.
the question:
the SQS message is remove from the queue?
lambda which Succeeded deletes the message from queue.
lambda which failed do retry for this message.
and how can i control concurrency issue?
thank you.