ExitAmazon Managed Service for Apache Flink vs Amazon Kinesis Data Streams1 / 9
Explanation

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.

ResponsibilityKinesis Data StreamsManaged Service for Apache Flink
Main jobIngest and retain recordsRun stream computations
Data it maintainsRetained input recordsApplication processing state
Application logicExecuted by consumersExecuted by Flink application
Typical useReplayable event sourceWindowed counts and joins

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.