Azure Service Bus Queue source
Consumes events from Azure Service Bus queues.
With tmctl
:
tmctl create source azureservicebusqueue --queueID <queueID> --auth.sasToken.connectionString.value <token>
On Kubernetes:
apiVersion: sources.triggermesh.io/v1alpha1
kind: AzureServiceBusQueueSource
metadata:
name: sample
spec:
queueID: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyGroup/providers/Microsoft.ServiceBus/namespaces/MyNamespace/queues/MyQueue
auth:
sasToken:
connectionString:
value: Endpoint=sb://mynamespace.servicebus.windows.net/;SharedAccessKeyName=ReadOnly;SharedAccessKey=aHpDel7ZCURMDyixudUeciLODz9SxImqqbEXAMPLEKEY;EntityPath=myqueue
sink:
ref:
apiVersion: eventing.knative.dev/v1
kind: Broker
name: default
Events produced have the following attributes:
- type
com.microsoft.azure.servicebus.message
- Schema of the
data
attribute: com.microsoft.azure.servicebus.message.json
See the Kubernetes object reference for more details.