apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: azure-eventhubs
  namespace: default
spec:
  type: pubsub.azure.eventhubs
  version: v1
  metadata:
  - name: connectionString
    value: ${{AzureEventHubsPubsubNamespaceConnectionString}}
  - name: consumerID
    value: ${{AzureEventHubsPubsubConsumerGroup}}
  # Reuse the blob storage account from the storage bindings conformance test
  - name: storageAccountName
    value: ${{AzureBlobStorageAccount}}
  - name: storageAccountKey
    value: ${{AzureBlobStorageAccessKey}}
  - name: storageContainerName
    value: ${{AzureEventHubsPubsubContainer}}
