Amazon Kinesis Data Streams
Real-time streaming service that collects and stores data records in shards.
How it works
Amazon Kinesis Data Streams ingests and retains streaming data records so multiple applications can read them independently. A partition key determines the shard that receives each record. Applications can replay records within the configured retention period, for example to recover after a processing failure or test a new processing approach.
When to use it
Real-time analytics, click streams, IoT, logs, when you need replay, ordering per key or custom consumers.
Real-world example
A ride-hailing application sends GPS coordinates to Kinesis Data Streams. A fraud detector and a dashboard both read the stream, while developers replay retained data to test their processing.
Key facts
- Retention up to 365 days; data cannot be deleted until it expires.
- Provisioned: 1 MB/s in (1,000 records/s) and 2 MB/s out per shard. On-demand: default 4 MB/s in or 4,000 records/s.
- Ordering for the same partition key; KPL and KCL libraries.
Common pitfall
Using the same partition key for too many records can create a hot shard and cause throttling even when aggregate stream capacity remains available. Choose keys that distribute load appropriately.
Often confused with
Amazon Data Firehose buffers and delivers data to destinations rather than providing a replayable stream.
References
Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:
Understand it for real with 3D models and simulated labs
Connect the concept to a working architecture.