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 個回答
0
已接受的答案

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
專家
Uri
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南