Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 623 Bytes

mqtt.md

File metadata and controls

25 lines (20 loc) · 623 Bytes

MQTT Binding Spec

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.

Note: In production never place passwords or secrets within Dapr components. For information on securely storing and retrieving secrets refer to Setup Secret Store

Output Binding Supported Operations

  • create