1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
2
Hi
Does your messages in the queue have different message group ID?
Since it'c a FIFO queue messages with the same ID will be processed in order, as per documentation:
Amazon SQS ensures that messages in the same group are delivered to Lambda in order. Lambda sorts the messages into groups and sends only one batch at a time for a group
https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-scaling
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 7 mesi fa
- In che modo posso risolvere i problemi relativi a ReportBatchItemFailures della funzione Lambda SQS?AWS UFFICIALEAggiornata 2 anni fa
No, they have the same group ID.
Thank you! I changed the code to send the messages in different group ids and it fixed the issue, now the lambda function is scaling as expected.