RabbitMQ is an open-source message-broker software that originally implemented the Advanced Message Queuing Protocol and has since been extended with a plug-in architecture to support Streaming Text Oriented Messaging Protocol, MQ Telemetry Transport, and other protocols. [RabbitMQ Official Documentation](https://www.rabbitmq.com)
(WE G)ot RabbitMQ🔗
- Livermore Computing (LC) and the Workflow Enablement Group (WEG) are proud to offer RabbitMQ hosted as a Docker container on our new LC Kubernetes/Openshift cluster.
- We currently support version 3.13.
RabbitMQ usage tips🔗
Tip | Details |
---|---|
Use SSL | PDS RabbitMQ instances require that clients connect with SSL |
Manage Secrets Securely | Store RabbitMQ credentials and connection details securely, for example in a secrets manager, and avoid hard coding them in your repository files. To help prevent accidental exposure, use a .gitignore file to exclude any sensitive configuration files from version control. |
Handle Connection Errors | Wrap connection logic in try/except blocks to gracefully handle network issues or authentication errors, and implement reconnection logic to automatically retry connecting if the connection is interrupted. |
Close Connections | Always close your connections with connection.close() when done, to free resources and avoid leaks. |
Additional Resources
-
Checkout our example with Python and Pika on CZ Gitlab
-
For connections using Merlin, please refer to the Merlin RabbitMQ documentation for setup instructions and usage patterns.