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 Answer
0
Accepted Answer

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
EXPERT
Uri
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions