Create Instance
RabbitMQ is a popular message queue middleware that features an efficient and reliable message asynchronous delivery mechanism. It is mainly used for data exchange and transmission between different systems and has a wide range of applications in various fields such as enterprise solutions, financial payments, telecommunications, e-commerce, social networking, instant messaging, video, the Internet of Things, and vehicle networking.
In the current version, the following RabbitMQ versions are supported: 3.12 and 4.2. RabbitMQ 3.8.16 is no longer supported in v4.2.x. The instance creation process uses 4.2 as an example.
When selecting a version, use the latest supported version whenever possible. 4.2 is recommended for new deployments:
4.2includes newer community fixes and ongoing feature evolution.- If you are running
3.12, plan and validate migration to4.2according to your business window.
Create RabbitMQ Instance
Prerequisites
- Please ensure that there is an available storage class in the current cluster and that there is sufficient available space.
Procedure
Create a RabbitMQ instance via CLI:
For detailed field information, please refer to RabbitMQ API Documentation.
After the instance is created, you can view the instance with the following command:
You can use the following custom command to view the status of the instances in bulk:
The meaning of the output table fields is as follows:
For the connection methods of business applications accessing RabbitMQ instances, please refer to Select Connection Address and Configure Connection Method.