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 Respuesta
0
Respuesta aceptada

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
EXPERTO
Uri
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas