capabilities.work

Configure Event Hub Capture to Blob Storage

A 2-step recipe with Azure Event Hubs. We can help you get access.

Recipe · 2 steps

Configure Event Hub Capture to Blob Storage

Create an event hub with Avro capture to a blob container and verify it.

  1. Create the event hub with an Avro capture description that archives events to the supplied storage account and blob container.
  2. Read the event hub back and assert that the capture description reports as enabled.
What you'll need to have ready
  • subscriptionId: Azure subscription identifier that scopes the resource.
  • resourceGroupName: Name of the resource group that contains the namespace.
  • namespaceName: The existing Event Hubs namespace name.
  • eventHubName: The event hub name to create with capture enabled.
  • storageAccountResourceId: ARM resource id of the storage account that receives captured blobs.
  • blobContainer: Blob container name that receives captured Avro files.
  • partitionCount: Number of partitions for the event hub (1-32).
  • intervalInSeconds: Capture time window in seconds (60-900).
  • sizeLimitInBytes: Capture size window in bytes (10485760-524288000).
  • apiVersion: Client API version for the management plane.
For your developer

Arazzo workflow microsoft-azure-event-hubs:configure-event-hub-capture, 2 operations: EventHubs_CreateOrUpdate → EventHubs_Get. Specs on APIs.io.