Distributed Message Service RabbitMQ

Introduction

2024-06-27 06:22:05

This section describes the basic procedure of getting started with DMS RabbitMQ, including environment preparation, resource creation, compilation project production and consumption, to help you quickly get started with RabbitMQ.

Procedure

1. Prepare Environment

To create a RabbitMQ instance, you must prepare a VPC, a subnet, a security group, and an EIP (optional).

2、  Create Instance

When creating a DMS RabbitMQ order, fill in and confirm the instance name, engine type, billing mode and other information. After confirming the fees, click Next and wait for the notification of the activation result, and the instance is created.

3、  Create Resource

To access a message queue for the new application, you need to create related resources, including Vhost, User, Exchange, and Queue.

4、  Compilation Project Production and Consumption

After the above work is completed, the client application is compiled for production and consumption, including introducing dependencies, binding BindingKeys, producing messages, and consuming messages.


Leff2XLUAvT1