ExitAmazon Kinesis Data Streams vs Amazon MSK: choosing a streaming service1 / 7
Explanation

Choose for the readers, not just the producers

How AWS-native stream consumption differs from Kafka-based streaming when choosing a service for independent consumers and replay. · associate

Both Amazon Kinesis Data Streams and Amazon MSK can combine events from multiple producers and let several applications read the retained events. Reading does not remove a record. An alerting application and an analytics application can therefore process the same data at different speeds.

The important choice is the consumption model. Kinesis Data Streams uses AWS streaming APIs and integrations. Each independent consumer application maintains its own progress. With the Kinesis Client Library, separate applications use distinct application names to keep their coordination and checkpoints separate.

MSK provides Apache Kafka. Independent applications normally use different consumer group IDs, giving each group its own offsets, or read positions. Members within one group divide partition assignments; they do not each receive every record. Prefer Kinesis for an AWS-native consumption design, and MSK when preserving Kafka clients and consumer-group behavior is a requirement. AWS integration alone is not decisive: both services integrate with AWS processing services.