Skip to content

Commit 26d01ca

Browse files
authored
Merge branch 'v1.12' into issue_3749
2 parents 9e1e548 + ad50b79 commit 26d01ca

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

daprdocs/content/en/reference/components-reference/supported-pubsub/setup-rabbitmq.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,24 @@ client.PublishEvent(ctx, PUBSUB_NAME, TOPIC_NAME, []byte(strconv.Itoa(orderId)),
412412

413413
{{< /tabs >}}
414414

415+
## Use quorum queues
416+
417+
By default, Dapr creates `classic` queues. To create `quorum` queues, add the following metadata to your pub/sub [subscription]({{< ref subscription-schema.md >}})
418+
419+
```yaml
420+
apiVersion: dapr.io/v2alpha1
421+
kind: Subscription
422+
metadata:
423+
name: pubsub
424+
spec:
425+
topic: checkout
426+
routes:
427+
default: /orders
428+
pubsubname: order-pub-sub
429+
metadata:
430+
queueType: quorum
431+
```
432+
415433
## Time-to-live
416434
417435
You can set a time-to-live (TTL) value at either the message or component level. Set default component-level TTL using the component spec `ttlInSeconds` field in your component.

0 commit comments

Comments
 (0)