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 versions of RabbitMQ are supported: 3.8.16 and 3.12. When creating an instance, only these two versions can be selected. The instance creation process will use 3.12 as an example.
When selecting a version, it is recommended to choose the latest supported version. 3.12 has the following advantages:
3.12supports production-ready quorum queues; additionally, the community has fixed many bugs, and performance has greatly improved in3.12.3.8.xwill be gradually phased out. If you are currently using the3.8.xseries and later require version upgrades, it may impact business operations.
TOC
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.