I have a Lambda function which pushes DynamoDB stream messages to SNS. If I put batch size as 10, can it combine records of two different streams?
For instance: Stream1 has an array of 2 objects and Stream2 also has an array of 2 objects. If I put batch size as 10, will lambda create 2 batches (one for each stream) or will it combine objects of both the streams and put them under single batch. Assuming both streams hit Lambda at the same time.