Event Hubs

Namespaces

Microsoft.EventHub/namespaces

Control plane
Supported
Data plane
Emulated
API versions
9 3 stable
Ships in
Plugin Microsoft.EventHub 2026.11
Plan
Standard and above

Data as of 2026-11-20

API versions

The API versions Locally supports for Microsoft.EventHub/namespaces.

API versionStatusControl planeData plane
2026-07-01-preview preview Supported Emulated
2026-01-01 stable Supported Emulated
2025-05-01-preview preview Supported Emulated
2024-05-01-preview preview Supported Emulated
2024-01-01 stable Supported Emulated
2023-01-01-preview preview Supported Emulated
2022-10-01-preview preview Supported Emulated
2022-01-01-preview preview Supported Emulated
2021-11-01 stable Supported Emulated

Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

Nested resource types

The resource types nested under Microsoft.EventHub/namespaces. Click one to see more information.

Features

  • Microsoft Entra authentication over AMQP and HTTPS, with the Azure Event Hubs Data Sender and Azure Event Hubs Data Receiver roles.
  • Shared access policies, with connection strings from locally eventhub connection-string.
  • Schema Registry on the namespace's endpoint.
  • Event Grid delivery: subscriptions can deliver events to an Event Hub in the namespace.
  • Chaos Engineering over AMQP and HTTPS. Team

Limitations

Namespaces

  • There's no Kafka endpoint at this time.

Event Hubs

  • A hub's status is read when a link is opened at this time, so a link that's already open doesn't see a later change.
  • A partition key always lands on the same partition, but not necessarily the same one it would in Azure at this time.
  • Idempotent publishing isn't supported at this time, so a retried send isn't deduplicated.
  • There's no size limit on retention at this time, and an expired event can still be read for up to 30 seconds.

Schema Groups

  • A schema can be registered under any group name at this time, whether or not the schema group exists.
  • Schemas aren't validated against their format at this time.
  • The Schema Registry can't list a schema's versions or fetch one by name and version at this time.

Examples

Runnable examples from the examples library.

Streaming telemetry from App Service through Event Hubs Deploy a producer and a consumer to App Service with Terraform that stream device readings through a partitioned Event Hub, with the consumer keeping its checkpoints in Blob Storage so it picks up where it left off after a restart. app-serviceazurerm-providercontainer-registryevent-hubshashicorp-terraformopentofustorage Deploy an Event Hub to Locally using an ARM Template Provisions an Event Hubs Namespace, an Event Hub and a Consumer Group, into a Resource Group of your choosing. arm-template Deploy an Event Hubs Namespace to Locally using an ARM Template Provisions an Event Hubs Namespace (Standard SKU), into a Resource Group of your choosing. arm-template Deploy an Event Hub to Locally using a Bicep Template Provisions an Event Hubs Namespace, an Event Hub and a Consumer Group, into a Resource Group of your choosing. bicep Deploy an Event Hubs Namespace to Locally using a Bicep Template Provisions an Event Hubs Namespace (Standard SKU), into a Resource Group of your choosing. bicep Deploy an Event Hub to Locally using Terraform and the Azure/azapi provider Provisions a Resource Group containing an Event Hubs Namespace, an Event Hub and a Consumer Group. azapi-providerhashicorp-terraform Deploy an Event Hubs Namespace to Locally using Terraform and the Azure/azapi provider Provisions a Resource Group containing an Event Hubs Namespace (Standard SKU). azapi-providerhashicorp-terraform Deploy an Event Hub to Locally using Terraform and the hashicorp/azurerm provider Provisions a Resource Group containing an Event Hubs Namespace, an Event Hub and a Consumer Group. azurerm-providerhashicorp-terraform Deploy an Event Hubs Namespace to Locally using Terraform and the hashicorp/azurerm provider Provisions a Resource Group containing an Event Hubs Namespace (Standard SKU). azurerm-providerhashicorp-terraform Deploy an Event Hub to Locally using OpenTofu and the Azure/azapi provider Provisions a Resource Group containing an Event Hubs Namespace, an Event Hub and a Consumer Group. azapi-provideropentofu Deploy an Event Hubs Namespace to Locally using OpenTofu and the Azure/azapi provider Provisions a Resource Group containing an Event Hubs Namespace (Standard SKU). azapi-provideropentofu Deploy an Event Hub to Locally using OpenTofu and the opentofu/azurerm provider Provisions a Resource Group containing an Event Hubs Namespace, an Event Hub and a Consumer Group. azurerm-provideropentofu Deploy an Event Hubs Namespace to Locally using OpenTofu and the opentofu/azurerm provider Provisions a Resource Group containing an Event Hubs Namespace (Standard SKU). azurerm-provideropentofu

Documentation

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.