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.
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.