Skip to content

Instantly share code, notes, and snippets.

@kshitijcode
Created July 7, 2021 09:58
Show Gist options
  • Save kshitijcode/0d06bc0e41ea33737b6b80bf7cb894fb to your computer and use it in GitHub Desktop.
Save kshitijcode/0d06bc0e41ea33737b6b80bf7cb894fb to your computer and use it in GitHub Desktop.
Dapr EventHub Component
apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
name: pubsub
spec:
type: pubsub.azure.eventhubs
version: v1
metadata:
- name: connectionString
secretKeyRef:
name: AZURE_EVENTHUB_CONNECTION_STRING
- name: storageAccountName
secretKeyRef:
name: AZURE_EVENTHUB_STORAGE_ACCOUNT_NAME
- name: storageAccountKey
secretKeyRef:
name: AZURE_EVENTHUB_STORAGE_ACCOUNT_KEY
- name: storageContainerName
secretKeyRef:
name: AZURE_EVENTHUB_STORAGE_ACCOUNT_CONTAINER_NAME
auth:
secretStore: envvar-secret-store
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment