One event log, two readers
How partition keys govern record placement and ordering, and how independent consumers use their read positions to replay records within the retention window.
A partitioned event log stores records in several ordered sequences rather than one global sequence. In Amazon Kinesis Data Streams, each of those sequences is held in a shard. A producer supplies a partition key with each record.
Reading a record does not remove it. The stream keeps records for its configured retention window, so one application can follow new events while another rereads older ones. The arrows show where event records go and where consumers save progress, not the API requests they make to read.
Stage 1 of 6: The producer publishes events such as OrderPlaced and OrderShipped, using the order ID as the partition key.
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.