Follow a reading through the job
How an Apache Flink job groups incoming records by when events occurred and uses watermarks to decide when to emit rolling metrics and how to handle late arrivals.
A sensor can take a reading while offline and upload it later. If you want a count of readings taken in each interval, the job needs the sensor's timestamp, not the time the reading reached AWS.
This pipeline uses Amazon Managed Service for Apache Flink to compute those counts. It keeps the latest count for each sensor and interval in one destination and archives readings that can no longer change their count in another.
Stage 1 of 5: The Kinesis data stream carries readings with a sensor ID and the timestamp recorded by the sensor.
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.