Add a RabbitMQ vhost for pubsub (fedmsg) and configure an HA policy

Since many of our applications will likely wish to use RabbitMQ for
private things like work queues, using separate vhosts is a good idea.
This sets up a single vhost to act as a fedmsg replacement (called
pubsub) and configures it for high availability.

The HA policy mirrors queues to all nodes in the cluster and enables
automatic synchronization with a batch size of 10K messages. Automatic
synchronization means that when a new node joins the cluster, all
messages from existing nodes are pushed to the new node, blocking queue
activity until mirroring is complete.

Signed-off-by: Jeremy Cline <jcline@redhat.com>
This commit is contained in:
Jeremy Cline 2018-09-28 11:07:40 -04:00 committed by Jeremy Cline
parent 49355e6d83
commit f57f3026d5
2 changed files with 29 additions and 10 deletions

View file

@ -1 +0,0 @@
[rabbitmq_management,rabbitmq_auth_mechanism_ssl].