Skip to content

Commit

Permalink
Create 'quorum' queues in RabbitMQ
Browse files Browse the repository at this point in the history
Signed-off-by: Álvaro Aguilar <[email protected]>
  • Loading branch information
aaguilartablada committed Aug 28, 2023
1 parent 7e1fa65 commit bb60da2
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,24 @@ client.PublishEvent(ctx, PUBSUB_NAME, TOPIC_NAME, []byte(strconv.Itoa(orderId)),

{{< /tabs >}}

## Use quorum queues

By default Dapr creates 'classic' queues. To create 'quorum' queues:

```yaml
apiVersion: dapr.io/v2alpha1
kind: Subscription
metadata:
name: pubsub
spec:
topic: checkout
routes:
default: /orders
pubsubname: order-pub-sub
metadata:
queueType: quorum
```
## Related links
- [Basic schema for a Dapr component]({{< ref component-schema >}}) in the Related links section
Expand Down

0 comments on commit bb60da2

Please sign in to comment.