Amazon MSK vs Kinesis Data Streams: which one fits your workload
Choose Amazon MSK when your applications already use Kafka clients or Kafka tooling, and Kinesis Data Streams when your producers and consumers are AWS-native and never call the Kafka API. That split decides whether your code, connectors and operating runbooks can move with you if a renewal or pipeline review leads to a change. MSK fits teams that run Kafka clients, Kafka Connect connectors or Kafka-based stream processors, and teams that want protocol portability, since the same client libraries can point at MSK or at a self-managed Apache Kafka cluster later. Kinesis Data Streams fits services that write through the AWS SDK and read through AWS-native consumers, such as AWS Lambda triggers, where no code depends on Kafka APIs. Confirm every consumer library in your inventory before assuming either fit.
The decision turns on three checks: API compatibility, retention and replay needs, and how much cluster operation your team wants to own. Kinesis Data Streams keeps data for 24 hours by default. Extended retention up to 7 days costs $0.020 per shard-hour in provisioned mode, and long-term retention up to 365 days costs $0.023 per GB-month beyond 7 days plus $0.021 per GB retrieved, according to the Kinesis pricing page for US East. On MSK, you set topic retention yourself, and replay depends on how your consumers manage offsets. Operations differ too: MSK provisioned clusters leave broker sizing, storage and version upgrades with your team, while Kinesis on-demand mode removes shard management. Check your cluster version now, because AWS lists end of support for Kafka 3.6.0 on June 1, 2026 and for 3.7.x on September 1, 2026, and Kafka 4.2 runs only on MSK Express brokers.
Run the three checks in order. Start by listing each client, connector and stream processor, and mark every one that needs the Kafka protocol. Next, write down the replay window the business needs in writing, then compare the storage and retrieval charges for that window on Kinesis with the storage and broker costs you would carry on MSK. Finally, pick one producer and one consumer, run them on both services in a test account, and ask for a written quote at your expected write volume. Confirm current prices on the MSK and Kinesis pricing pages before you commit, because the rates cited here are US East figures and tiers change.
When Amazon MSK or Kinesis Data Streams fits better
This table compares the conditions under which Amazon MSK or Kinesis Data Streams is the better starting point for a streaming workload. Read each row by matching your situation to the scenario, then check the reasoning against your own clients, retention needs and exit plans. The main takeaway is that Kafka compatibility and retention flexibility favor MSK, while AWS-native simplicity favors Kinesis Data Streams, and MSK retention limits should be confirmed in AWS documentation before you commit.
| Scenario | Better fit | Why |
|---|---|---|
| Existing Kafka clients and connectors, if apps already use Kafka APIs and Connect plugins | Amazon MSK | Standard Apache Kafka protocol, so clients and connectors usually need only configuration changes. Confirm MSK retention limits in AWS documentation. |
| AWS-only producers and consumers, all inside one AWS account and region | Amazon Kinesis Data Streams | AWS-native service with no brokers or Kafka versions to run. Confirm MSK retention limits in AWS documentation. |
| History kept beyond 365 days, the Kinesis long-term retention limit | Amazon MSK | Kafka topic retention is set per topic, so storage size becomes the limit. Confirm MSK retention limits in AWS documentation. |
| A later move to another cloud or on-premises | Amazon MSK | Kafka's MirrorMaker 2 can replicate topics, configurations and consumer offsets, so the exit stays open. Confirm MSK retention limits in AWS documentation. |
| Small team with no Kafka skills and AWS-only workloads | Amazon Kinesis Data Streams | Fewer components to learn, with no broker or controller upgrades to plan. Confirm MSK retention limits in AWS documentation. |
| Small team with no Kafka skills that still needs Kafka APIs | Amazon MSK Serverless | Removes broker sizing, though topics, partitions and consumer groups still need learning. Confirm MSK retention limits in AWS documentation. |
Decision path: MSK, Kinesis or self-hosted Kafka
The path starts with whether your producers and consumers already use Kafka clients. If they do, the next question is whether the cluster must run outside AWS, such as next to factories, branches or in your own data centers. Those teams end at self-hosted Apache Kafka. If the cluster can stay in AWS, the question becomes whether AWS-only integration is the goal, which leads to Amazon MSK or, when that goal is absent, a scoping conversation. Producers and consumers without Kafka clients reach Amazon Kinesis Data Streams when AWS-only integration is the goal, and a scoping conversation otherwise, where you confirm client libraries, data location and integrations.
Three questions route a workload to MSK, Kinesis, self-hosted Kafka or a scoping call.
How Amazon MSK and Kinesis Data Streams compare on capabilities
This table compares how Amazon MSK and Kinesis Data Streams differ on the capabilities that most often decide a migration: the programming interface, Kafka versions, scale, retention, consumer fan-out, connectors and cross-cluster replication. Read cells marked to confirm as open questions for your AWS account team or the current AWS documentation. The main takeaway is that MSK keeps you on the Kafka protocol and its ecosystem, while Kinesis requires AWS-specific client code.
| Capability | Amazon MSK | Amazon Kinesis Data Streams |
|---|---|---|
| Programming interface | Apache Kafka protocol, so Kafka client libraries and tools work | Own AWS API, not Kafka-compatible |
| Supported Kafka versions | 3.8.x, 3.9.x (recommended), 4.0.x, 4.1.x and 4.2.x; 4.2 on Express brokers only | Not applicable, Kinesis does not run Apache Kafka versions |
| Cluster scale | Up to 60 brokers in KRaft mode without a limit increase; 30-broker quota on ZooKeeper clusters | Capacity set by shard count in provisioned mode; confirm account shard quotas with AWS |
| Retention | Confirm retention limits for your cluster type in the MSK documentation | 24 hours by default, extended up to 7 days, long-term up to 365 days |
| Enhanced fan-out | Confirm the equivalent consumer feature in your MSK setup | Available; billed per consumer-shard-hour plus per GB retrieved in provisioned mode |
| MSK Connect | Managed Kafka Connect workers billed per MCU-hour (1 vCPU, 4 GB each) | Confirm which native connectors and integrations Kinesis offers for your targets |
| Cross-cluster mirroring | Open-source MirrorMaker 2 copies topics, configurations, offsets and ACLs between clusters | Confirm native replication options with AWS; MirrorMaker 2 runs against Kafka clusters |
What Amazon MSK and Kinesis Data Streams charge for
Amazon MSK bills for broker capacity and storage, or for ingest and partitions, while Kinesis Data Streams bills for data volume or shard capacity. The rates below are US East (N. Virginia) list prices from the published pricing pages, and they do not map line by line onto each other. A quote should model your throughput, retention period and consumer count under each model.
MSK provisioned broker charges
Provisioned clusters bill each broker by the hour, so the instance size you pick sets the floor on cost even when traffic is light. The Amazon MSK pricing page lists $0.204 per broker-hour for kafka.m7g.large and $0.21 for kafka.m5.large in US East (N. Virginia). Storage is billed per GB-month at $0.10, or at $0.060 per GB-month plus $0.0015 per GB retrieved on the low-cost tier. Check how many brokers you need for replication and headroom, and whether the low-cost tier's retrieval charge suits your replay pattern.
MSK pricing pageMSK Express ingest and brokers
Express brokers bill per broker-hour, at $0.408 for the m7g.large size in US East (N. Virginia), and storage is $0.10 per GB-month. Each GB ingested costs $0.01, so model per GB ingested volume alongside broker count, because a high-throughput stream can shift cost toward ingest. Kafka 4.2 is available on Express brokers only, so confirm the version you need is offered before you size the cluster.
Supported Kafka versionsMSK Serverless and MSK Connect
Serverless clusters charge $0.75 per cluster-hour plus $0.0015 per partition-hour, with $0.10 per GB in, $0.05 per GB out and $0.10 per GB-month of storage. MSK Connect bills connector workers at $0.11 per MCU-hour, where one MCU is 1 vCPU and 4 GB of memory. Partition count and connector worker count are the drivers to check, since both grow with design choices as well as traffic.
Kinesis on-demand Standard and Advantage
On-demand Standard charges $0.08 per GB written, $0.040 per GB read and $0.040 per stream-hour in US East (N. Virginia). On-demand Advantage drops the stream-hour charge and lowers data rates to $0.032 per GB in and $0.016 per GB out, but it applies a 25 MB/s account-level minimum for ingest and retrieval. Check your steady throughput against that minimum before choosing Advantage, and confirm how it is billed when a workload falls below it.
Kinesis pricing pageKinesis provisioned shards and add-ons
Provisioned mode bills $0.015 per shard-hour plus $0.014 per million PUT payload units of 25 KB. Retention beyond the 24-hour default adds $0.020 per shard-hour for up to 7 days, and long-term retention up to 365 days costs $0.023 per GB-month beyond 7 days plus $0.021 per GB retrieved. Enhanced fan-out adds $0.015 per consumer-shard-hour plus $0.013 per GB retrieved, so each extra consumer multiplies that line. Fix the retention period and consumer count in the quote, because they drive the add-on lines.
Where lock-in sits in each service
Amazon Kinesis Data Streams carries the heavier lock-in. Producers and consumers are written against AWS-specific APIs, such as PutRecords and GetRecords in the AWS SDK, or against the Kinesis Client Library, which keeps shard checkpoints and lease state in DynamoDB. Retention is also set by AWS: data stays for 24 hours by default, extended retention is configured per stream, and long-term retention of up to 365 days is a Kinesis feature. On exit, the producer code, the consumer code, the checkpoint logic and the retention settings all change. Any Lambda triggers or Firehose delivery streams attached to the stream also have to be rebuilt. Inventory these dependencies before choosing a target, because they set the size of the rewrite.
Amazon MSK keeps the Apache Kafka protocol, so most producer and consumer code can stay in place. The changes sit at the edges. IAM access control, which relies on AWS identities and policies, has to be replaced with the authentication your target cluster runs, such as SASL or mTLS. Every MSK Connect connector must be redeployed on Kafka Connect workers you operate, with its configuration and secrets moved out of AWS. Check each client for AWS-specific settings, including IAM login callbacks, and confirm that your client libraries support the target authentication method. Also confirm which Kafka version the target will run, and match it to a version your team can support for the life of the cluster.
The main open exit path is MirrorMaker 2, which is built on Kafka Connect and replicates topic data and configurations, consumer groups with their offsets, and ACLs between clusters. Run it between the MSK cluster and the target cluster, let consumer offsets catch up, then move producers and consumers in a controlled order. Its behavior depends on the Kafka versions on each side, so test offset and ACL replication with those exact versions before you rely on it, and read the Apache Kafka geo-replication documentation for your release. Then confirm the commitment, contract and notice terms with AWS directly, including any data transfer charges during cutover. Do not assume these terms from this page.
Data location and exit paths for MSK and Kinesis
Both services keep stream data inside your AWS account and chosen region, so the first question is where the data sits and how it leaves. The cards below cover location, export paths, retention limits and the engineering work a move involves. Check each one against your own exit plan before you commit to either service.
Where the data lives
Both services keep stream data in an AWS account and the region you select, so account and region form your residency boundary. Confirm the encryption options each service offers in your target region, including who holds the keys, and whether any cross-region replication you need stays inside your residency terms. Ask your compliance team which key and encryption controls they expect to see documented before you choose a region.
Export paths out of each service
MSK exposes the Apache Kafka protocol, so consumers can read topics from a self-managed cluster once you repoint them, and MirrorMaker 2 copies topics, consumer offsets and ACLs to that cluster. Kinesis consumers read through its API and Kinesis Data Streams has no Kafka protocol, so you need to confirm which export tooling, if any, moves records out of AWS. Test each path on a sample stream and time a full copy before you rely on it in an exit plan.
MirrorMaker 2 docsRetention as an exit constraint
Kinesis keeps records for 24 hours by default, extends that up to 7 days, and offers long-term retention up to 365 days at a per-GB-month charge. History beyond 365 days needs your own archive, because anything older than the configured window is gone unless you copied it out. Check the retention you set on each MSK topic and whether you already hold an archive of older history. Copy any history you need to your own storage before cutover.
Kinesis pricing pageEngineering work on exit
Kinesis exits center on client rewrites, since producer and consumer code calls the Kinesis API and tracks shard positions with Kinesis-specific mechanisms. Leaving MSK keeps Kafka client code, but IAM authentication must be replaced with a mechanism your new cluster supports, and MSK Connect connectors must move to Kafka Connect you run. Cutover usually follows a planned order: mirror the data, move producers, drain and move consumers, then confirm offsets match before retiring the old cluster.
When self-hosted Apache Kafka or Apache Pulsar fits better
Choose self-hosted Apache Kafka when your applications already use Kafka clients and the data must sit on your own hardware or in another cloud. Apache Kafka and Apache Pulsar are both Apache Software Foundation projects under the Apache License 2.0, and neither project sells a paid edition, so the software line in your cost model is zero. The costs that remain are the servers or Kubernetes nodes, disks, monitoring, backups, and staff time for upgrades and on-call work. Confirm the Kafka version your MSK clusters run before you plan anything else. AWS lists end of support for Kafka 3.6.0 on June 1, 2026 and for 3.7.x on September 1, 2026, and both dates have passed as of this page's date. Check your cluster against the supported versions page and pick a target release that is still supported.
Pick Apache Pulsar when your team wants its messaging model and is willing to test it first. Its brokers and storage layer are separate components, and its client libraries differ from Kafka's, so Kafka client code will not carry over unchanged. Run a proof of concept with your message sizes, consumer patterns and failure tests before committing, and confirm the current release and support policy in the Pulsar repository. PostgreSQL, under the PostgreSQL License, and MySQL Community Edition, under the GPL, fit only when the stream is effectively records written to a table and queried with SQL, such as audit rows or device readings. They do not replace event stream semantics. A table has no consumer group offsets, no ordered log to replay from a position, and no log retention, so a team that replays events needs Kafka or Pulsar.
Running Kafka yourself means sizing brokers from your throughput, partition counts and retention targets, then running KRaft mode, which removes ZooKeeper from the cluster. Plan TLS for client and inter-broker traffic and SASL for client authentication, and map each existing IAM or mTLS setting to its replacement before cutover. Monitoring should cover broker health, disk use, under-replicated partitions and consumer lag. Size backups or a mirrored second cluster to your recovery targets, and set upgrade windows in advance because rolling upgrades pass through every broker. DeployOpen plans the sizing and topology, implements the cluster in your cloud account, your data center or your Kubernetes environment, hardens listeners, authentication and access control, and documents the runbooks under a fixed scope agreed in writing before work starts.
How a move between MSK and Kinesis Data Streams runs
A move between these services runs in six stages, from inventory to decommissioning. It ends with workloads running on your target cluster, with offsets, access rules and a documented cutover order that your team can audit. Kafka-to-Kafka data moves use MirrorMaker 2, while Kinesis workloads move at the application level.
Inventory producers, consumers, retention and connectors
Your team lists every producer, consumer group, topic or stream, connector and downstream system that touches the source, and records each consumer's replay needs. For Kinesis, note the retention setting, which defaults to 24 hours and can be extended up to 7 days or, as long-term retention, up to 365 days. For MSK, record MSK Connect connectors, authentication (IAM or SASL) and ACLs. The main effort drivers are the number of consumer groups, the number of applications with hard-coded stream names and the connector count. Done when the application owners have signed off the inventory and every item has a named migration method.
Choose and pin the target version
Pick the Kafka version for the target and pin it in every broker, client and deployment file so no component drifts. If the target is MSK, AWS lists 3.9.x as recommended, with 3.8.x, 4.0.x, 4.1.x and 4.2.x also supported, and Kafka 4.2 is available on MSK Express brokers only. Note that 3.9 is the last version supporting both ZooKeeper and KRaft, so confirm your target runs in KRaft mode. Confirm that each client library in use supports the chosen version. Done when the version decision and client compatibility list are approved by the platform owner.
Build the target cluster and mirror topics
Build the target cluster in your chosen environment, run it in KRaft mode, and start MirrorMaker 2 from the Kafka source. This step applies only when the source is Kafka. MirrorMaker 2, built on Kafka Connect, replicates topic data and configurations, consumer groups with their offsets, and ACLs to the target cluster. Compare topic names, partition counts, configurations and ACL entries on both sides, and confirm that each replicated consumer group has offset data on the target. Done when replication lag is stable and the comparison report shows no gaps.
Move Kinesis workloads at the application level
MirrorMaker 2 works only between Kafka clusters, so Kinesis Data Streams workloads move at the application level. Developers change producers to write to the target and consumers to read from it, and they decide whether to dual-write during the transition. Records already in a Kinesis stream stay readable only within its retention setting, so plan any backfill before cutover. Check that partition keys still map to the ordering each downstream system expects. Done when a test run shows matching record counts and per-key ordering for each stream on both sides.
Switch consumers, verify offsets, then producers
Move consumers first, one group at a time, and confirm each group resumes from its replicated offset with no gaps or duplicate processing. Watch lag, error rates and duplicate counts after each group moves. When consumers on the target are stable, switch producers in the order set during the inventory. Keep the source cluster or stream readable until every producer has moved, so you can roll back. Done when the source has no active producers or consumers and lag and error rates match the pre-move baseline.
Decommission the source after retention window
Stop the MirrorMaker 2 flows and disable the source producers, then keep the source available through the full retention window so replay and rollback stay possible. For Kinesis, that window is the retention setting you chose, which is 24 hours by default and up to 365 days with long-term retention. For MSK, confirm no consumer group still reads the source, and export configurations and ACL records before you delete the cluster. Done when the retention window has passed, no consumers remain on the source, and the decommission record is filed with your audit team.
Questions buyers ask before moving off MSK or Kinesis
What drives the cost of moving off Amazon MSK or Kinesis?
Recurring cost comes from the AWS lines you stop paying, and one-time cost comes from the migration work. On MSK, the recurring lines are broker-hours, storage and data movement. The Amazon MSK pricing page lists kafka.m7g.large provisioned brokers at $0.204 per broker-hour in US East (N. Virginia), storage at $0.10 per GB-month, and low-cost tier storage at $0.060 per GB-month plus $0.0015 per GB retrieved. On Kinesis, shard-hours, PUT payload units, retention and enhanced fan-out drive the bill, and provisioned mode lists $0.015 per shard-hour. One-time costs include migration engineering, a period of dual running while both platforms carry traffic, and testing. Self-hosting adds recurring servers or Kubernetes nodes, disks, monitoring and staff time, so compare those against the AWS lines you remove. Ask every quote to price each one-time item separately and to state what it assumes about the dual-running period.
How long does it take to move off MSK or Kinesis?
The duration depends mainly on how many topics, streams, producers, consumers and connectors must move, and on how much custom logic each one contains. No timeline can be stated responsibly before the inventory is complete. Moves usually proceed in groups of topics or streams, with replication running, consumers switched after they catch up, and a rollback path kept open until each group is stable. Two items often add the most time. Applications that use IAM authentication must be moved to SASL or mTLS, and Kinesis consumers built on the Kinesis Client Library or Lambda triggers must be rebuilt on Kafka clients. Ask for a fixed-scope timeline in writing, based on the completed inventory, with each phase and its acceptance test listed.
What does a migration team need from us before work starts?
Start with an inventory that lists every topic or stream, its producers and consumers, retention settings, partition or shard counts, and the authentication model each client uses. Add the owner of each workload and the change windows the business allows. Then list connectors, schema usage, consumer group offsets and ACLs, because these must move with the data. Apache Kafka's MirrorMaker 2 documentation describes replicating topic data, configurations, consumer groups with offsets and ACLs between Kafka clusters, which covers much of this when the target is Kafka. Kinesis flows are not covered by that replication, so plan to rebuild and test them. Also gather recent billing data, current client library versions and the monitoring and alerting your teams rely on today.
Can our own team migrate off MSK or Kinesis without a partner?
Yes, a capable internal team can do it, but the work needs people who already run Kafka in production, plus engineers who know the Kinesis client libraries and AWS IAM. The skills that matter most are Kafka broker operations, KRaft basics, TLS and SASL or mTLS configuration, ACL design, MirrorMaker 2 operation, Kafka Connect operation, and monitoring with an on-call practice. Teams without that experience often split the work. Internal owners handle the inventory, application changes and cutover approvals, while an outside team builds the platform, sets up replication and writes the runbooks. Ask any partner which of these skills its named engineers have applied to production clusters. DeployOpen plans, implements, integrates, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms in your own cloud accounts or data centers, so the platform build and runbooks can be scoped as one part of the work.
What contract and notice terms should we confirm with AWS?
Confirm them with your AWS account team, because public pricing pages list rates but not your account's commitments. Check any committed-use or savings agreements that apply to MSK, Kinesis or related compute and storage, and find out when they end or can be changed. Ask what notice is required to stop or reduce each cluster or stream, whether any charges continue during a shutdown period, and what happens to retained data after a stream or cluster is deleted. Review your AWS support plan, since support terms affect the cost of running old and new systems in parallel. Also confirm data transfer charges that apply while data is replicated out of AWS, and any terms that cover MSK Connect or Kinesis consumers. Record these dates in the migration plan so the decommission date follows your contract dates.
What does a DeployOpen quote depend on?
A quote follows from a written scope, and DeployOpen does not publish a price list. Most engagements are fixed-scope, so the scope, deliverables and timelines are agreed in writing before work starts. The scope lists the systems from your inventory, the target platform, the replication and cutover approach, testing and acceptance criteria, documentation, and any handover to your team. Ongoing support, upgrades and continuous testing are offered as retainers, so ask for them as a separate line. To compare quotes from any provider, ask each one to use the same inventory assumptions, to state the dual-running period it assumed, and to show which of the cost items described above it includes. The AWS figures in this section come from published rates and will change with your own usage.
How DeployOpen helps evaluate, implement or integrate the choice
DeployOpen helps teams compare Amazon MSK with Amazon Kinesis Data Streams, then plans and integrates the path they choose. Where self-hosted open-source streaming fits, we implement it inside the client's own cloud accounts or data centers, and every engagement starts from a fixed scope agreed in writing.
How we scope
- We start with the workloads, throughput, retention and consumer patterns that Amazon MSK or Kinesis would serve.
- Scope, deliverables and timelines are agreed in writing before any work starts on the streaming choice.
- Cost inputs are listed per component so the quote follows from the written scope.
How we build
- We deploy the self-hosted option in your own cloud accounts or data centers, with access control and audit logging.
- Producers, consumers and connectors are integrated and hardened, with secrets kept out of configuration files.
- Security testing covers broker access, topic permissions and the network paths that carry event data.
How we hand over
- Architecture, runbooks and configuration are documented so your own engineers can operate the streaming platform.
- Compliance evidence, such as access settings and audit logs, is prepared for your assessors.
- Migration steps, including any cutover order for producers and consumers, are written down before cutover.
How we support
- Upgrades and patching of the streaming platform can be covered by a retainer after handover.
- Continuous security testing can run alongside the platform, with findings tracked to retest.
- Ask for a named support scope, response expectations and exit assistance in the written agreement.

