ExitAmazon Managed Service for Apache Flink vs. Amazon Data Firehose1 / 9
Explanationassociate9 steps · 4 exercises

One stream, two different outputs

When buffered delivery to a destination with optional record transformation is enough, and when the pipeline needs a Flink application that maintains state across events.

The same stream of sensor readings can feed two outputs: a Parquet archive that preserves individual readings and a table of counts per device per minute. The archive changes how readings are stored. The count combines information from multiple readings.

The arrows show where data goes and where the delivery service requests the schema it needs for format conversion. The schema describes the fields and their types; it is not a destination for readings.

JSON readingsSchema requestParquet objectsJSON readingsWindow counts
Sensor telemetryAmazon Kinesis Data Streams
Buffered archive deliveryAmazon Data Firehose
Data Catalog table: sensor reading schemaAWS Glue
Individual readings archiveAmazon S3 bucket
Per-device window countsAmazon Managed Service for Apache Flink
Counts by device and minuteAmazon DynamoDB table

Stage 1 of 7: The Kinesis data stream supplies JSON readings. Each reading includes a device ID and an event timestamp.

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.