ExitAmazon Managed Service for Apache Flink: distributed stream execution1 / 9
Explanation

One application, many parallel workers

How parallel Flink operators process partitioned streams, distinguishing stateless transformations from keyed stateful computations that recover through checkpoints. · associate

Amazon Managed Service for Apache Flink runs a streaming application as a graph of operators. An operator performs a processing step; its parallel subtasks divide the work across runtime workers. This is distributed execution, not one worker processing the entire stream.

In this example, purchase events arrive in a partitioned stream. Parallel transformations prepare each event, and parallel keyed computations maintain customer totals. The two Flink cards represent stages inside one application, not separate applications; each card stands for multiple subtasks.

One managed Flink application
Purchase eventsKey-partitioned eventsUpdated totalsCheckpoint stateRestored state
Amazon Kinesis Data StreamsInput: partitioned purchase events
Amazon Managed Service for Apache FlinkParallel stateless map subtasks
Amazon Managed Service for Apache FlinkParallel keyed customer-total subtasks
Amazon Kinesis Data StreamsOutput: updated customer totals
Amazon S3Service-managed checkpoint storage

1 / 7 The input stream holds purchase events across shards. Those source partitions let the application read different parts of the stream concurrently.

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