Introduction to Streaming Data for ML
Ingesting and transforming streaming data for ML features, real-time inference and continuous training with Kinesis, Apache Kafka, Apache Flink, Lambda and Spark.
- 3 lessons
- Module quiz
Some machine learning systems need data as it happens: real-time features for fraud detection, online scoring of events, and continuous collection of training data. Streaming services carry this data with low latency.
Amazon Kinesis Data Streams stores ordered, replayable records for custom consumers. Amazon Data Firehose delivers streams to storage such as Amazon S3, converting them to Parquet or ORC on the way. Amazon MSK runs Apache Kafka. Amazon Managed Service for Apache Flink, Spark Structured Streaming and AWS Lambda transform streams, from simple record-by-record changes to stateful aggregation over time windows.
What the exam expects
Questions test choosing the streaming service, Kinesis Data Streams for replay and custom consumers, Firehose for no-code delivery and MSK for Kafka, and choosing the transformation engine: Lambda for stateless transformations, Flink or Spark for windows and joins.
How this module is organised
Ingesting Streaming Data with Kinesis Data Streams and Data Firehose explains the Kinesis services. Using Apache Kafka and Apache Flink on AWS for ML covers Amazon MSK and Managed Service for Apache Flink. Transforming Streaming Data with Lambda and Spark compares the transformation engines.