Skip to content
Advertisement

Streams from DyanamoDB Mapper Single BatchSave operation triggering multiple events in lambda

I am using Java to insert multiple items into DynamoDB using batchSave method. The table has Streams enabled. I want the streams to trigger the lambda just once for a single batchSave. Should I be using some other Method to push multiple items in the DB?

Thanks In Advance 🙂

Advertisement

Answer

My issue got resolved by increasing the batchSize which was 1 by default.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement