Azure Service Bus Topic source
Consumes events from Azure Service Bus topics.
With tmctl
:
tmctl create source azureservicebustopic --topicID <topicID> --auth.servicePrincipal.tenantID <tenantID> --auth.servicePrincipal.clientID <clientID> --auth.servicePrincipal.clientSecret <clientSecret>
On Kubernetes:
apiVersion: sources.triggermesh.io/v1alpha1
kind: AzureServiceBusTopicSource
metadata:
name: sample
spec:
topicID: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/MyGroup/providers/Microsoft.ServiceBus/namespaces/MyNamespace/topics/MyTopic
auth:
servicePrincipal:
tenantID:
value: 00000000-0000-0000-0000-000000000000
clientID:
value: 00000000-0000-0000-0000-000000000000
clientSecret:
value: some_secret
sink:
ref:
apiVersion: eventing.triggermesh.io/v1alpha1
kind: RedisBroker
name: triggermesh
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.