Search code examples
javaamazon-dynamodbamazon-dynamodb-streams

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 :)


Solution

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