Kom igångKom igång gratis

Choosing an idempotency key

A Lambda function consumes DynamoDB Streams records and updates a downstream system. Because Lambda processes stream records with at-least-once semantics, retries occasionally cause the same record to be processed more than once. The team wants to make the consumer idempotent by tracking which records have already been handled.

Which attribute is the BEST choice to use as the idempotency key?

Den här övningen är en del av kursen

Developing applications on AWS

Visa kurs

Interaktiv övning med praktiskt arbete

Gör teori till handling med en av våra interaktiva övningar

Starta övningen