MQTT binding spec
Detailed documentation on the MQTT binding component
Setup Dapr component
apiVersion: dapr.io/v1alpha1 kind: Component metadata: name: <NAME> namespace: <NAMESPACE> spec: type: bindings.mqtt metadata: - name: url value: mqtt[s]://[username][:password]@host.domain[:port] - name: topic value: topic1
urlis the MQTT broker url.
topicis the topic to listen on or send events to.
WarningThe above example uses secrets as plain strings. It is recommended to use a secret store for the secrets as described here.
Output Binding Supported Operations
- Bindings building block
- How-To: Trigger application with input binding
- How-To: Use bindings to interface with external resources
- Bindings API reference
Last modified December 4, 2020: Merge pull request #980 from AaronCrawfis/scss-fix (0a314b8)