The documentation you are viewing is for Dapr v0.11 which is an older version of Dapr. For up-to-date documentation, see the latest version.

MQTT binding spec

Detailed documentation on the MQTT binding component

Setup Dapr component

kind: Component
  name: <NAME>
  namespace: <NAMESPACE>
  type: bindings.mqtt
  version: v1
  - 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
Last modified July 7, 2022: update nav bar v0.11 (#2633) (b309d3d)