At this point, Complete Car (CC) is running a single instance of RabbitMQ in production. Now CC also needs to ensure that the service is highly available. Creating clusters of nodes ensures that information is reachable even if systems go down. This chapter covers how to set up RabbitMQ clusters, including coverage of broker clustering, classic mirrored queues, and quorum queues. CC is also looking for a new elegant solution for log aggregation, where all logs are published to a centralized RabbitMQ node through the federation plugin, so this chapter will cover this topic as well.
To achieve CC's goal of nearly constant uptime, the topics in this chapter will include the following:
- Adding nodes to the cluster
- Discovering the types of RabbitMQ queues
- Using federated brokers and log aggregation