Developing applications on AWS
Ricardo Sueiras
Principal Technologist

StreamSpecification.


INSERTMODIFYREMOVE

KEYS_ONLY: just the partition and sort key.NEW_IMAGE: the full item after the change.OLD_IMAGE: the full item before the change.NEW_AND_OLD_IMAGES: the item before and after.NEW_AND_OLD_IMAGES is the go-to for auditing.




BatchSize: max records per invocation.MaximumBatchingWindow: wait before a partial batch.MaximumRetryAttempts: retries before failure destination.MaximumRecordAgeInSeconds: discard records past this age.ParallelizationFactor: concurrent processing per shard (max 10).

eventID or SequenceNumber.


ReportBatchItemFailures retries only the records that failed.BisectBatchOnFunctionError for batch bisection.




Developing applications on AWS