Skip to content

Commit

Permalink
Add note abour durable queue in example manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
ChunyiLyu committed Apr 22, 2021
1 parent d025ec1 commit 9476834
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/examples/queues/quorum-queue.yaml
@@ -1,16 +1,17 @@
---
apiVersion: rabbitmq.com/v1alpha2
kind: Queue
metadata:
name: qq-example
namespace: rabbitmq-system
spec:
name: test # name of the queue
name: qq # name of the queue
vhost: "/test-vhost" # default to '/' if not provided
rabbitmqClusterReference:
name: test # rabbitmqCluster must exist in the same namespace as this resource
type: quorum # without providing a queue type, rabbitmq creates a classic queue
autoDelete: false
durable: true
durable: true # seting 'durable' to false means this queue won't survive a server restart
rabbitmqClusterReference:
name: test # rabbitmqCluster must exist in the same namespace as this resource
# status:
# conditions:
# - lastTransitionTime: ""
Expand Down

0 comments on commit 9476834

Please sign in to comment.