---
id: "azure-event-hubs"
type: "component"
kind: "stream"
provider: "azure"
category: "messaging"
docs: "https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about"
url: "https://localhost:3000/catalogue/components/azure-event-hubs"
---

# Azure Event Hubs

Managed Kafka-compatible event ingestion log with partitions and consumer groups.

| | |
|---|---|
| Provider | [azure](https://localhost:3000/catalogue?provider=azure) |
| Kind | [Stream](https://localhost:3000/catalogue/kinds/stream) |
| Category | Messaging |
| Official docs | [https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about](https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about) |

## Properties

| property | type | values | required | kind default | this component |
|---|---|---|---|---|---|
| `acks` | enum | `none`, `leader`, `quorum`, `all` | no | — | **"all"** |
| `capture` | boolean | — | no | false | inherited |
| `compaction` | boolean | — | no | false | inherited |
| `delivery` | enum | `at-most-once`, `at-least-once`, `exactly-once` | no | "at-least-once" | **"at-least-once"** |
| `idempotentProducer` (advanced) | boolean | — | no | false | inherited |
| `managed` | boolean | — | no | false | **true** |
| `minInsyncReplicas` | integer | — | no | — | inherited |
| `ordering` | enum | `per-key`, `global` | no | "per-key" | **"per-key"** |
| `partitions` | integer | — | no | — | **4** |
| `replicationFactor` | integer | — | no | — | **3** |
| `retentionHours` | integer | — | no | — | **24** |
| `schemaEnforced` | boolean | — | no | false | inherited |
| `storage` | enum | `ephemeral`, `persistent` | no | "persistent" | **"persistent"** |
| `transactions` (advanced) | boolean | — | no | false | inherited |

Bold values are the ones this component pins.

## Rules that apply · 0

No rule selects this kind or its category.

## Other products of the same kind · 18

- [DataHub](https://localhost:3000/catalogue/components/alibaba-datahub.md) `alibaba-datahub` — alibabacloud
- [ApsaraMQ for Kafka](https://localhost:3000/catalogue/components/alibaba-kafka.md) `alibaba-kafka` — alibabacloud
- [Amazon Kinesis Video Streams](https://localhost:3000/catalogue/components/aws-kinesis-video-streams.md) `aws-kinesis-video-streams` — aws
- [Amazon Managed Streaming for Apache Kafka](https://localhost:3000/catalogue/components/aws-msk.md) `aws-msk` — aws
- [Amazon Kinesis Data Streams](https://localhost:3000/catalogue/components/kinesis.md) `kinesis` — aws
- [AutoMQ](https://localhost:3000/catalogue/components/automq.md) `automq` — default
- [Confluent Cloud](https://localhost:3000/catalogue/components/confluent-cloud.md) `confluent-cloud` — default
- [Apache Kafka](https://localhost:3000/catalogue/components/kafka.md) `kafka` — default
- [NATS JetStream](https://localhost:3000/catalogue/components/nats-jetstream.md) `nats-jetstream` — default
- [Apache Pulsar](https://localhost:3000/catalogue/components/pulsar.md) `pulsar` — default
- [Redpanda](https://localhost:3000/catalogue/components/redpanda.md) `redpanda` — default
- [Apache RocketMQ](https://localhost:3000/catalogue/components/rocketmq.md) `rocketmq` — default
- [Generic stream](https://localhost:3000/catalogue/components/stream.md) `stream` — default
- [WarpStream](https://localhost:3000/catalogue/components/warpstream.md) `warpstream` — default
- [Managed Service for Apache Kafka](https://localhost:3000/catalogue/components/google-managed-kafka.md) `google-managed-kafka` — gcp
- [IBM Event Streams](https://localhost:3000/catalogue/components/ibm-event-streams.md) `ibm-event-streams` — ibm
- [OCI Streaming](https://localhost:3000/catalogue/components/oci-streaming.md) `oci-streaming` — oci
- [OCI Streaming with Apache Kafka](https://localhost:3000/catalogue/components/oci-streaming-kafka.md) `oci-streaming-kafka` — oci

## Use it in a design

```yaml
nodes:
  - { id: "azure-event-hubs", component: "azure-event-hubs" }
```

## Source (`component` YAML, verbatim)

```yaml
# yaml-language-server: $schema=../../schema/component.schema.json
# Azure Event Hubs: managed Kafka-compatible log. New hubs get 4 partitions and 1 day of retention;
# data is replicated within the namespace region before acknowledgement.
schemaVersion: "1"
type: "component"
id: "azure-event-hubs"
kind: "stream"
provider: "azure"
docs: "https://learn.microsoft.com/en-us/azure/event-hubs/event-hubs-about"
defaults:
  delivery: "at-least-once"
  ordering: "per-key"
  partitions: 4
  replicationFactor: 3
  acks: "all"
  retentionHours: 24
  storage: "persistent"
  managed: true
properties:
  capture:
    type: "boolean"
    default: false
```

Human page: https://localhost:3000/catalogue/components/azure-event-hubs
