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
  • url is the MQTT broker url.
  • topic is the topic to listen on or send events to.

Output Binding Supported Operations

  • create