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 version: v1 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 January 30, 2021: Update mtls.md (#1118) (10c2d21)