Introduction to Amazon Kinesis and Amazon MSK
Streaming ingestion with Kinesis Data Streams, Amazon Data Firehose, Amazon MSK and Apache Flink.
- 7 lessons
- Module quiz
Much of today's data arrives continuously rather than in daily files: website clicks, application logs, IoT sensor readings and financial transactions. Processing such streaming data as it arrives lets organisations react within seconds, for example detecting fraud or updating live dashboards, instead of waiting for the next batch.
AWS offers several streaming services, each with a different role. Amazon Kinesis Data Streams stores ordered records in shards, from which an organisation's own consumers read in real time and can replay. Amazon Data Firehose delivers streaming data to storage and analytics destinations, such as Amazon S3 and Amazon Redshift, with no code. Amazon MSK runs managed Apache Kafka for teams that use Kafka APIs. Amazon Managed Service for Apache Flink processes streams with SQL, Java or Python, including windowed aggregations and stateful processing.
What the exam expects
Questions usually ask which service fits: Data Streams for custom consumers and replay, Firehose for managed delivery with the least effort, and MSK when Kafka compatibility is required. Others test capacity and reliability, such as the throughput of a shard (1 MB or 1,000 records per second in, 2 MB per second out), enhanced fan-out for many consumers, hot shards caused by poor partition keys, and handling duplicates.
How this module is organised
Streaming Data in Real Time with Kinesis Data Streams, Delivering Streaming Data to Storage with Amazon Data Firehose, Running Apache Kafka on AWS with Amazon MSK and Processing Streams Statefully with Amazon Managed Service for Apache Flink explain each service. Planning Stream Capacity and Consumers explains how streams are sized and read. Handling Ordering and Delivery Guarantees in Streams explains ordering guarantees and duplicates, and Designing Fan-In, Fan-Out and Stateful Stream Processing explains how streams are combined, distributed and processed with state.
- Streaming Data in Real Time with Kinesis Data Streams Lesson 1
- Delivering Streaming Data to Storage with Amazon Data Firehose Lesson 2
- Running Apache Kafka on AWS with Amazon MSK Lesson 3
- Processing Streams Statefully with Amazon Managed Service for Apache Flink Lesson 4
- Planning Stream Capacity and Consumers Lesson 5
- Handling Ordering and Delivery Guarantees in Streams Lesson 6
- Designing Fan-In, Fan-Out and Stateful Stream Processing Lesson 7
- Practise and review
- Checkpoint Practice activities across the module
- Test your knowledge 5 questions