Lambda reads the stream
How Lambda polls Kinesis shards through event source mappings, batches records for invocation, and manages checkpoints, ordering, and failed-batch retries. · associate
An event source mapping is a Lambda resource that connects a Kinesis data stream to a function. Lambda manages reading the stream and invoking your code; your function does not need its own polling loop.
Kinesis stores records in shards. With standard consumers, Lambda polls each shard for records. The arrows below show records and invocation outcomes, not who initiates the read: Lambda pulls records; Kinesis does not push an asynchronous invocation to the function.
1 / 5 The Kinesis data stream retains records in shards. Each shard provides an ordered sequence of records.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.