One stream, parallel reads
How shards let consumers read in parallel without a stream-wide ordering guarantee, using EventBridge Pipes as a managed consumer.
A Kinesis data stream is divided into shards. Each shard holds a sequence of records. Because the sequences are separate, a consumer can make progress on one shard without waiting to finish reading another.
In this design, EventBridge Pipes is the managed consumer. One pipe reads from a stream with two shards and sends records to a Lambda function for processing. The arrows show where records move, not which way a read request is sent.
Stage 1 of 4: Shard A and Shard B are two portions of the same stream, each with its own sequence of records.
Next up: Trace a request on what you just read.
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.