Keeping events is not computing results
How managed stream computation differs from durable stream ingestion and storage, and why a pipeline can need both services. · associate
Amazon Kinesis Data Streams accepts records from producers and durably retains them for a configured retention period. Consumers read those records to do useful work. Reading a record does not remove it, so separate consumers can process the same input independently.
Amazon Managed Service for Apache Flink runs applications that compute over streams. Your application can filter events, join streams, or maintain running totals. A window groups events into a bounded set, often by time, so the application can calculate a result such as an event count for each interval.
These services solve different problems: Kinesis Data Streams keeps input available; Flink executes processing logic. Creating a stream does not create an aggregation, and running a Flink application does not replace a retained source of raw events.
| Responsibility | Kinesis Data Streams | Managed Service for Apache Flink |
|---|---|---|
| Main job | Ingest and retain records | Run stream computations |
| Data it maintains | Retained input records | Application processing state |
| Application logic | Executed by consumers | Executed by Flink application |
| Typical use | Replayable event source | Windowed counts and joins |
AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.