docs/reference/specs/bindings/rabbitmq.md

741 B

RabbitMQ Binding Spec

apiVersion: dapr.io/v1alpha1
kind: Component
metadata:
  name: <name>
spec:
  type: bindings.rabbitmq
  metadata:
  - name: queueName
    value: queue1
  - name: host
    value: amqp://[username][:password]@host.domain[:port]
  - name: durable
    value: true
  - name: deleteWhenUnused
    value: false
  • queueName is the RabbitMQ queue name.
  • host is the RabbitMQ host address.
  • durable tells RabbitMQ to persist message in storage.
  • deleteWhenUnused enables or disables auto-delete.

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