# Azure Event Hubs

> A stream service in Microsoft's cloud. Kafka apps can use it as they are.

**Field:** Data Engineering  
**Category:** Ingestion & Streaming  
**Also known as:** Event Hubs, Microsoft Event Hubs

## Think of it like

It is like a busy post office that someone else runs. Letters pour in, and you just pick them up.

## Definition

Azure Event Hubs is the event streaming service in Microsoft's cloud. Apps send events in, and other apps read them, much like Kafka. Microsoft runs it, so there are no servers to look after. It speaks the Kafka protocol, so many Kafka apps work on it without code changes. Events are kept for a set time, from one day up to 90 on higher tiers. A feature called Capture can also save them to storage.

## Example

A car maker sends sensor readings from its cars to Event Hubs. Its Kafka apps read them after only the address and login were changed.

## Why it matters

Teams on Azure get streams that work like Kafka, with no brokers to run. Microsoft looks after the machines.

## Common mistake

Picking the Standard tier and expecting a month of history. It keeps events for 7 days at most.

## Three principles

- **Run for you.** No brokers to look after.
- **Kafka-friendly.** Kafka clients connect as they are.
- **Kept a while.** From 1 to 90 days, by tier.

## Related terms

- [Event Streaming](https://learn.benibix.com/term/data/event-streaming)
- [Apache Kafka](https://learn.benibix.com/term/data/apache-kafka)
- [Amazon Kinesis Data Streams](https://learn.benibix.com/term/data/amazon-kinesis)
- [Google Cloud Pub/Sub](https://learn.benibix.com/term/data/google-cloud-pub-sub)
- [Apache Pulsar](https://learn.benibix.com/term/data/apache-pulsar)
- [Microsoft Azure](https://learn.benibix.com/term/infrastructure/microsoft-azure)

![A bar for your apps, producers and consumers, sits above four boxes. Apache Kafka: open source, you run the brokers. Confluent: Kafka run for you, plus extra tools. Azure Event Hubs: Microsoft's own engine, run for you, speaking Kafka, AMQP and HTTPS. Apache Pulsar, highlighted: open source, storage kept apart in BookKeeper, its own protocol.](https://learn.benibix.com/diagrams/dat2-stream-platforms.svg)

---

Source: https://learn.benibix.com/term/data/azure-event-hubs
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
