September 18, 2021 by Admin
A Developer has setup an Amazon Kinesis Stream with 4 shards to ingest a maximum of 2500 records per second. A Lambda function has been configured to process these records.
In which order will these records be processed?
- Lambda will receive each record in the reverse order it was placed into the stream following a LIFO (last-in, first-out) method
- Lambda will receive each record in the exact order it was placed into the stream following a FIFO (first-in, first-out) method.
- Lambda will receive each record in the exact order it was placed into the shard following a FIFO (first-in, first-out) method. There is no guarantee of order across shards.
- The Developer can select FIFO, (first-in, first-out), LIFO (last-in, last-out), random, or request specific record using the getRecords API.