Azure Event Hubs vs Amazon Kinesis Data Streams

Event Hubs fits Azure-centered estates and Kinesis Data Streams fits AWS-centered estates, so the cloud your producers, consumers and identity already run on is the first question. Retention needs, Kafka client compatibility, billing shape and exit posture decide the rest, and self-hosted Apache Kafka or Apache Pulsar wins when data must stay in your own facilities.

On this page

Azure Event Hubs vs Amazon Kinesis Data Streams: which fits your workload

Event Hubs fits teams whose estate is centered on Azure, and Kinesis Data Streams fits teams centered on AWS. Both run only in the vendor's cloud: Event Hubs has no self-hosted edition, and Kinesis Data Streams is an AWS managed service. Choose by where your producers, consumers and workforce identities already live, because moving a streaming workload between clouds changes the endpoints, the access model and the billing at once. Event Hubs has a clear edge when Kafka or AMQP 1.0 clients are already in production, since Microsoft says existing Kafka workloads can run without code changes or cluster management. Confirm that your client versions and Kafka features are covered before you commit. If data residency requires operation in your own facilities, neither service fits, and the comparison moves to self-hosted Kafka.

Each advantage matters only under a specific condition. Event Hubs Premium or Dedicated is the choice when replay must reach beyond 7 days, since Standard keeps data up to 7 days and Premium and Dedicated keep it up to 90. Capture matters when the destination is Azure Blob Storage or Azure Data Lake Storage, because Event Hubs writes the stream there without a consumer you build and run. Entra ID matters when administrators and applications already authenticate through Microsoft Entra ID, because RBAC and managed identities let workloads avoid shared access keys. On the AWS side, retention depth is the advantage: Kinesis keeps data 24 hours by default, up to 7 days with extended retention, and up to 365 days in long-term retention, billed per GB-month beyond 7 days plus a per-GB retrieval charge. Model that cost against your replay volume before choosing.

The decision turns on five factors. Cloud and identity footprint comes first: which cloud hosts your producers, consumers and workforce identities. Retention follows: check whether replay needs fit the 7 or 90 day Event Hubs windows or need Kinesis long-term retention. Client protocol matters next, Kafka, AMQP 1.0 or HTTPS on Event Hubs against AWS-native APIs on Kinesis, so confirm feature coverage for your Kafka clients. Billing shape differs on each side: Event Hubs charges hourly per unit, while Kinesis charges per GB or per shard-hour, so model your traffic under both. Exit posture is the last check: Apache Kafka is licensed under Apache 2.0 with no paid edition from the project, but Capture, Entra ID integration and Kinesis APIs do not carry over. Ask each vendor, in writing, how retained data and consumer offsets would leave the service, and test that path before you sign.

Which scenarios favor Azure Event Hubs and which favor Kinesis Data Streams

This table compares Azure Event Hubs and Amazon Kinesis Data Streams across common scenarios, showing which service fits each one and the condition that makes the choice hold. Check each row against your own conditions first, since most fits depend on where producers and consumers already run, how long data must stay in the stream and where the data must live. The main takeaway is that the cloud your workload already runs in usually decides the fit, while retention, cross-cloud reach and data location can point you toward a self-operated Apache Kafka cluster instead.

ScenarioBetter fitWhy the fit holds
Azure-hosted applications already using Kafka clientsAzure Event HubsHolds when clients speak the Kafka protocol, since Event Hubs runs existing Kafka workloads without code changes. Confirm the client features you use are supported.
AWS-hosted producers and consumers in your AWS accountsKinesis Data StreamsHolds when producers, consumers and IAM access already sit in AWS, so traffic stays inside one cloud. Confirm cross-cloud traffic costs for any Azure consumers.
Retention beyond 90 daysKinesis Data StreamsHolds when the stream itself must hold history. Event Hubs stops at 90 days on Premium and Dedicated. Capture is the Azure archive path.
Multi-cloud estate with consumers in Azure and AWSNeither managed service aloneBoth services belong to a single cloud. Holds when one self-operated Apache Kafka cluster serves both clouds.
Data that must stay in your own data centerSelf-hosted Apache Kafka or Apache PulsarEvent Hubs has no self-hosted edition and Kinesis is AWS-managed. Holds when the data center is the required location.
Small team with no streaming operations skillsEvent Hubs or Kinesis, matching your cloudBoth remove broker management, but each still needs capacity sizing. Holds when the workload already runs in that cloud.
Illustrative: spiky traffic with few streamsDepends on traffic shapeKinesis on-demand bills per GB written and read, while Event Hubs Basic and Standard bill hourly by throughput unit. Model both with your own volume.

Why retention and Kafka protocol support often decide the shortlist

Retention and protocol support often remove options before price is compared. Microsoft describes Azure Event Hubs as a fully managed platform that can ingest millions of events per second, and it supports the Apache Kafka, AMQP 1.0 and HTTPS protocols. Existing Kafka workloads can run without code changes or cluster management, so a team with Kafka producers and consumers can evaluate the service without rewriting its clients. Event Hubs keeps data for up to 7 days on Standard and up to 90 days on Premium and Dedicated. The managed feature set also includes Capture to Azure Blob Storage or Azure Data Lake Storage, Schema Registry for Avro and JSON schemas, geo-replication and an SLA of up to 99.99%. For the full feature list, read Microsoft's Event Hubs overview.

Amazon Kinesis Data Streams stores data for 24 hours by default, so any replay window longer than a day is a paid decision. Extended retention up to 7 days costs $0.020 per shard-hour in provisioned mode. 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 Data Streams pricing page. Illustrative: a team that wants 30 days of replay pays extended retention per shard-hour for the first 7 days, then per GB-month for the days beyond that, plus retrieval whenever old data is read back. Event Hubs ties retention to the tier you choose, so the question there is which tier covers your replay window. Put the replay requirement on the table before comparing unit prices, because it changes the cost model more than any single rate.

Confirm the Kinesis protocol, security and export details in AWS documentation before you score it. Ask which client protocols and SDKs your producers and consumers can use, whether Kinesis offers any Kafka-compatible API, and how it handles encryption, IAM access control, private connectivity and export of stream data to your own storage. Check the same points for Event Hubs against your security baseline. Microsoft Learn lists Microsoft Entra ID RBAC, Shared Access Signatures, managed identities, Private Link, customer-managed keys and TLS 1.2 in transit. If your producers already speak Kafka and you need replay beyond 7 days, the shortlist narrows quickly, and the remaining question is whether a managed Azure service or a self-hosted Apache Kafka cluster fits your data location and operating model.

How Azure Event Hubs compares with Amazon Kinesis Data Streams on capabilities

This table compares the two managed streaming services on the capabilities that usually drive a migration decision: throughput, protocols, retention, schema handling, storage export, identity, networking, encryption and tiers. Event Hubs entries come from Microsoft's published documentation, while Kinesis entries show the published retention and billing facts and mark every other cell for confirmation in AWS documentation. Treat each cell marked for confirmation as an open item for your architecture review before you decide.

CapabilityAzure Event HubsAmazon Kinesis Data Streams
Ingest scaleCan ingest millions of events per second (Microsoft Learn).Confirm in AWS documentation the per-shard and per-stream limits for your mode.
ProtocolsApache Kafka, AMQP 1.0 and HTTPS. Existing Kafka workloads can run without code changes.Confirm in AWS documentation which producer and consumer APIs and client libraries are supported.
RetentionUp to 7 days on Standard. Up to 90 days on Premium and Dedicated.24 hours by default, extended up to 7 days, long-term up to 365 days (AWS pricing page). Confirm in AWS documentation.
Schema registrySchema Registry for Avro and JSON schemas.Confirm in AWS documentation whether a native schema registry is available or a separate service is required.
Export to storageCapture to Azure Blob Storage or Azure Data Lake Storage.Confirm in AWS documentation which delivery options to storage and analytics services apply.
AuthenticationMicrosoft Entra ID RBAC, Shared Access Signatures or managed identities.Confirm in AWS documentation how IAM policies and roles control stream access.
Private networkingAzure Private Link for private connectivity.Confirm in AWS documentation whether VPC interface endpoints apply to your stream mode.
Encryption keysEncryption at rest with Microsoft-managed or customer-managed keys. TLS 1.2 in transit.Confirm in AWS documentation the server-side encryption key options for streams.
Tiers and SLABasic, Standard, Premium and Dedicated. SLA up to 99.99% (Microsoft Learn).On-demand Standard or Advantage, or provisioned by shard. Provisioned shard-hour is $0.015 (AWS pricing page). Confirm SLA in AWS documentation.

How Azure Event Hubs and Kinesis Data Streams bill usage

Both services charge for throughput and stored data, but they meter them in different units and plan structures. Event Hubs bills by the hour per tier unit, while Kinesis splits its charges across on-demand and provisioned modes, retention and consumers. The cards below set out each published component so you can build a workload model on your own throughput.

Event Hubs tiers and units

Event Hubs comes in four tiers: Basic, Standard, Premium and Dedicated. Basic and Standard are billed hourly per Throughput Unit, Premium per Processing Unit and Dedicated per Capacity Unit. Basic and Standard meter ingress per million events, and each event up to 64 KB counts as one, so check your average event size against that boundary. Premium and Dedicated include ingress events in the hourly charge. Take current rates from the Event Hubs pricing page and confirm which tier your workload needs before you model costs.

Event Hubs pricing

Kinesis on-demand and provisioned rates

Amazon's pricing page lists two on-demand tiers and a provisioned mode. On-demand Standard charges $0.08 per GB written, $0.040 per GB read and $0.040 per stream-hour in US East. On-demand Advantage has a 25 MB/s account-level minimum for ingest and retrieval, and it charges $0.032 per GB in and $0.016 per GB out with no stream-hour charge. Provisioned mode charges $0.015 per shard-hour and $0.014 per million PUT payload units of 25 KB. Confirm the region and mode your workload would use before you compare numbers.

Kinesis pricing

Kinesis retention and fan-out charges

Kinesis keeps data for 24 hours by default, and longer retention is a separate charge. Extended retention of up to 7 days costs $0.020 per shard-hour in provisioned mode. Long-term retention of up to 365 days costs $0.023 per GB-month beyond 7 days, plus $0.021 per GB retrieved. Enhanced fan-out costs $0.015 per consumer-shard-hour plus $0.013 per GB retrieved in provisioned mode, and it has no added charge on On-demand Advantage. Count consumers and replay reads before modeling, since each consumer adds to the bill.

Drivers and quote requests

The two services meter different units, so a Kinesis bill and an Event Hubs bill cannot be compared line by line. Event Hubs bills hourly capacity units and, on Basic and Standard, ingress events. Kinesis bills shards or on-demand throughput, retained GB, consumer-shard-hours and retrieved GB. Build one workload model from your own peak and average throughput, event size, retention and consumer count, then ask each provider to price that model in writing. Request line items for ingress, egress, retention, fan-out and any minimums.

Which path fits your producers, retention and data control?

The diagram starts with where producers and consumers run and where identity sits, because those two facts narrow the cloud choice. The first question asks whether data must stay in your own data center or the estate must avoid single-cloud dependence. A yes leads to self-hosted Apache Kafka or Apache Pulsar. A no moves to retention: Event Hubs keeps data up to 90 days on Premium and Dedicated, so longer needs point to Amazon Kinesis Data Streams, whose long-term retention runs up to 365 days. Otherwise, Kafka client compatibility or an Azure estate leads to Event Hubs, and the rest go to Kinesis. Confirm each answer against your producers, consumers and retention requirements.

Decision path from workload location to Event Hubs, Kinesis or self-hosted Kafka or Pulsar.

Where data lives, who holds the keys and what leaving involves

Each card covers one area that a renewal or exit review touches: where events are stored, who can reach them, how data leaves, and how much of your code depends on one cloud. Read them together, because a residency answer can change your export options, and a key decision can change your lock-in.

Data location and residency

Event Hubs namespaces and Kinesis streams are each created in a region you choose, and that choice decides where stored events, retained copies and the logs around them sit. Geo-replication and geo-disaster recovery on the Azure side can place copies in other regions, so map every copy your setup creates. Confirm in each provider's terms which residency commitments apply and whether they cover backups and telemetry. This matters most when a regulator or customer contract fixes where event payloads may be processed. Ask for the named regions in writing and advance notice before any change to hosting locations.

Keys, identity and network access

Event Hubs authenticates through Microsoft Entra ID RBAC, Shared Access Signatures or managed identities, and can be reached privately through Private Link. Encryption at rest uses Microsoft-managed or customer-managed keys, and TLS 1.2 protects data in transit. Map each control to your identity provider, key custody rules and rotation practice, then confirm the AWS equivalents for Kinesis, such as IAM, KMS and VPC endpoints, before you treat the two as equal. This matters when key custody or identity federation is a compliance requirement. Request written detail on how access is revoked and how encrypted data stays readable during an exit.

Event Hubs overview

Export and exit paths

Capture writes Event Hubs streams to Azure Blob Storage or Azure Data Lake Storage, so you can hold a copy outside the messaging service. Check the file format, the write frequency and the storage account that owns the output, because those settings shape your exit and audit options. For Kinesis, confirm which export paths exist and what each one charges, including retrieval and any transfer fees. This matters when you may need to leave on short notice or keep an archive for audit. Request a documented export format, a bulk export at termination and a fixed window for delivering it.

Kinesis pricing page

Contract and API lock-in

Microsoft states that existing Kafka workloads can run on Event Hubs without code changes, and AMQP 1.0 support adds a second protocol path, which lowers the rewrite cost of moving. Capture, Entra ID RBAC and the Azure resource model are Azure specific, so each one needs a replacement plan. Kinesis clients are built on AWS interfaces, so confirm how much of your producer and consumer code depends on them before comparing. This matters at renewal, when a price change or a planned move to self-hosted Apache Kafka turns lock-in into a budget question. Request exit assistance in writing: a named contact, help with data export and a stated date when billing stops.

When Apache Kafka or Apache Pulsar fits better than either service

Choose Apache Kafka or Apache Pulsar when one of four conditions holds: the data must stay in your own data center or air-gapped network, the estate must avoid dependence on a single cloud, retention needs exceed managed limits, or your team already runs Kafka. Both projects are licensed under the Apache License 2.0, and the projects themselves offer no paid edition, so the software license cost is zero and the spend moves to infrastructure and people. Event Hubs Premium and Dedicated keep events for up to 90 days, and Kinesis Data Streams offers long-term retention up to 365 days. If your retention target sits above those figures, self-hosting becomes the likely path. Confirm your retention target and your residency rules against both services before you decide.

Before you commit, test the move path. Apache Kafka's MirrorMaker 2, built on Kafka Connect, replicates topic data, configurations, consumer groups with their offsets, and ACLs between Kafka clusters, so it helps when you move from one Kafka cluster to another. It does not, by itself, copy data out of Kinesis Data Streams or Event Hubs, so you need a separate export path for in-flight and archived events. Event Hubs also exposes a Kafka endpoint that lets existing Kafka clients run without code changes, which makes it a practical bridge for testing. Point a non-production consumer group at it to check client settings, offsets and partition behavior, and confirm which Kafka features your clients depend on are covered before you rely on it. See Apache Kafka geo-replication documentation for how MirrorMaker 2 is configured.

Running Kafka or Pulsar yourself means owning every operational layer: broker sizing and placement, storage volumes that grow with your retention target, network paths and TLS listeners, upgrades you schedule and rehearse, monitoring for under-replicated partitions and consumer lag, security configuration for authentication, ACLs and key handling, backup and disaster recovery design for topics and cluster configuration, and an on-call rota that covers broker failures at night. Cost has four components: your compute, your storage, network transfer between zones and sites, and staff time. Most of these recur every month. The migration build work, such as client re-pointing, topic mapping and cutover rehearsal, is one-time. Ask for a quote that prices each component separately and states the replication factor and retention period it assumes.

What a move between Event Hubs and Kinesis involves

The sequence moves a streaming workload from Azure Event Hubs to Amazon Kinesis Data Streams, or the reverse, while keeping downstream consumers running. Each step produces a written record that your platform, security and compliance teams can review. The order matters because consumers and producers must agree on retention, ordering and schemas before either side moves.

  1. Inventory producers, consumers, retention and contracts

    List every producer, consumer group and downstream sink that touches the current hubs, with its owner, protocol and SDK, partition or ordering key, and schema format such as Avro or JSON. Record the retention each replay depends on: Event Hubs keeps data up to 7 days on Standard and up to 90 days on Premium and Dedicated, while Kinesis keeps data 24 hours by default, so longer replay needs must be flagged now. The step closes when the inventory is signed off by the platform and security owners and every schema change in flight is listed.

  2. Choose the Kafka or SDK client path

    Decide how each client reaches the target before any code moves. Event Hubs speaks the Apache Kafka protocol, so Kafka clients may need only configuration changes. Kinesis Data Streams uses the AWS SDK, so clients on that side usually need a rewrite or an adapter layer. Test any adapter for partition keys, batching and retry behavior, since these change ordering and delivery. Record the path per client group, with library versions, an owner and a test that shows the same events arrive in the same order. The step closes when every client group has an approved path and a passing test.

  3. Build the target and run both in parallel

    Provision the target in the account and region your data rules require, with identity and network rules set before the first event. Size it from the inventory: Kinesis uses on-demand or provisioned mode, while Event Hubs uses a tier with throughput units, processing units or capacity units. Run producers or consumers against both systems and compare event counts, lag and sampled payloads. Check that identity, private networking and key management match your policy. The step closes when a reconciliation report shows matching counts and the security owner signs off on access.

  4. Replay or dual-write while managing offsets

    Fill the target with history while new events keep flowing. Replay retained events from the source where retention allows, and dual-write from producers for the window where it does not. Record each consumer group's position on both sides, and make consumers idempotent so a replayed event is not counted twice. Data older than the source's retention cannot come back from the source, so flag those gaps in the inventory now. The step closes when every consumer position is recorded and duplicate handling passes a test with a known set of events.

  5. Cut over consumers, then producers

    Move consumers first, one group at a time, so each consumer reads from the target from a recorded position. Watch lag and error rates for the agreed observation period while the source stays readable as a fallback. Once consumers are stable, switch producers one group at a time and keep dual-writing until the source shows no new traffic. Write a rollback step for each group before its cutover. The step closes when the source shows no consumer lag and no producer writes for the agreed period.

  6. Decommission and export archives

    Export what must be kept before anything is deleted. Copy retained events and archives into your own storage, such as the object store or data lake your retention policy names, and confirm each copy by record count or checksum. If Capture wrote archives to Azure Blob Storage or Azure Data Lake Storage, those files are part of this export. Then delete the old hubs or streams, remove producer and consumer configuration that points at them, and revoke the keys, roles and shared access signatures that granted access. The step closes when the export is verified, the old resources are gone and each revocation is logged.

What buyers ask before choosing between Event Hubs and Kinesis

Is Azure Event Hubs or Amazon Kinesis Data Streams cheaper for my workload?

Neither is cheaper in general, because the two services bill different units, so the same traffic can produce very different invoices. Event Hubs pricing bills Basic and Standard per hour per Throughput Unit, Premium per Processing Unit and Dedicated per Capacity Unit, plus ingress events per million on Basic and Standard, where each event up to 64 KB counts as one. Amazon's Kinesis pricing page lists on-demand Standard at $0.08 per GB written, $0.040 per GB read and $0.040 per stream-hour in US East, and provisioned mode at $0.015 per shard-hour plus $0.014 per million PUT payload units of 25 KB. Retention and enhanced fan-out add charges on both sides. Ask for a quote built from sustained throughput, peak rate, average event size, retention days and consumer count, and confirm current rates on each provider's pricing page.

Can Azure Event Hubs or Kinesis Data Streams run in my own data center?

Event Hubs cannot, because it is an Azure-only managed service with no self-hosted edition. Its emulator is meant for local development and testing, so it does not carry production traffic. Kinesis Data Streams is also an AWS managed service, so confirm with AWS whether any option runs outside AWS before you assume it does not. If data must stay in your own data center or an air-gapped network, the self-hosted route is Apache Kafka or Apache Pulsar, both Apache License 2.0 projects with no paid edition from the projects themselves. DeployOpen plans, implements, hardens and supports those platforms inside your own infrastructure, and a written scope would define the exact boundary. Ask each provider for its region and data residency options in writing before you shortlist.

Does existing Kafka code work on Azure Event Hubs without changes?

For the protocol layer, yes. Microsoft Learn says Event Hubs supports the Apache Kafka protocol and that existing Kafka workloads can run without code changes or cluster management. Verify that against your client versions, configuration keys and the Kafka features you use, such as transactions, compacted topics, Kafka Connect and consumer group behavior, because protocol support does not guarantee that every feature behaves the same. Kinesis Data Streams uses its own API, so Kafka client code would need changes or an adapter, and you should confirm the details with AWS documentation. Run a test workload against a non-production Event Hubs namespace and compare throughput, offsets and error handling before any cutover. Ask any implementation partner to list the Kafka APIs and client settings in its written scope.

How long does a streaming migration take and what does it need from my team?

Nobody can give a reliable duration before the inventory is finished, because the timeline depends on how many producers, consumers and topics you run and how much history must move. Ask for the timeline as a line item in the written scope, with milestones you can check. Your team needs to list every producer, consumer group, retention requirement, schema, capture target and authentication method, including Microsoft Entra ID, shared access signatures or managed identities on the Azure side. It also needs a cutover plan that covers consumer offsets, duplicate handling during dual running and rollback. Private connectivity, monitoring and alert thresholds should be in place before live traffic moves. Ask the provider for an inventory template, a cutover runbook and a retest plan.

Can my own platform team run the migration without an outside partner?

Yes, a capable team can do it, but the real test is whether it has the time and skills to run both services during the move. The work covers cloud networking and identity, Kafka-compatible client changes, observability, backup, on-call and documentation. A fixed-scope engagement turns that work into a written list of deliverables, and DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted platforms in your infrastructure. Your team's cost is staff time, while an outside engagement is priced from the written scope and recurs only if you add a retainer for upgrades and continuous testing. Decide in advance who will own the platform after cutover, who patches it and who answers alerts at night.

Does DeployOpen issue compliance certifications for streaming platforms it deploys?

No. DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence so that independent auditors and certification bodies can assess your environment. For a streaming platform, that evidence typically covers access control settings, encryption configuration, audit logging, backup and retention settings, and change records. Compliance status for the managed services themselves sits with Microsoft and AWS, so check their published compliance documentation for the services you use today. Ask for a written scope that names the controls, systems and evidence in scope, and confirm with your auditor which framework applies and what format they expect. Your auditor decides what counts as sufficient evidence.

How DeployOpen helps evaluate, implement and integrate the choice

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For a choice between Azure Event Hubs and Amazon Kinesis Data Streams, that means scoping the candidate platforms against your own event volumes, retention needs, consumer patterns and data location rules before any build begins. Engagements are fixed-scope, with deliverables agreed in writing first.

How we scope

  • Written scope lists the producers, consumers, event volumes and retention periods the platform must cover.
  • Protocol needs are recorded, including Kafka, AMQP 1.0, HTTPS and Kinesis API clients already in use.
  • Fixed-scope engagements agree deliverables and timelines in writing, and ongoing support can run as a retainer.

How we build

  • Event Hubs and Kinesis behavior is mapped to the candidate open-source platform, including partitioning and ordering.
  • Identity, encryption keys, private network paths and access roles are configured inside your own environment.
  • Replication, consumer offset handling and audit logging are tested before any producer or consumer is moved.

How we hand over

  • Architecture notes, configuration, runbooks and a data flow diagram are delivered as project documentation.
  • Retention, backup and restore steps are documented so your team can run the platform after handover.
  • Exit steps for moving topics and data out again are written into the handover pack.

How we support

  • Upgrades, patching and backups can be covered by a retainer scoped in writing.
  • Continuous security testing of the streaming platform and its producers and consumers is available on retainer.
  • Where testing finds issues, the engagement can include fixes and a retest, as agreed in writing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.