about (sqs, dynamodb stream) -> lambda batch size

0

Hello, I'm learning about (sqs, dynamodb stream) -> lambda. My question is

if my lambda's source (sqs or dynamodb stream) batchSize is set to 10000(using maxBatchingWindow) and total payload byteSize is over 6MB(lambda max payload for sync invocation),

does lambda automatically split batches into 6MB payloads and run seperately? So don't need to think about byteSize exceeding 6MB when setting batch size, is that right?

1 Resposta
0
Resposta aceita

You do not need to think about it. Batch size are always limited by the payload size, in addition to the number of messages/window size that you configure.

profile pictureAWS
ESPECIALISTA
Uri
respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas