[Huawei Cloud Distributed Message Service RocketMQ]

MD@[Huawei Cloud Distributed Message Service RocketMQ]

Huawei Cloud Distributed Message Service RocketMQ, User Guide

Note 1: HUAWEI CLOUD rocketmq is the cluster version 4.8 by default, not the stand-alone version .
Note 2: HUAWEI CLOUD rocketmq has good compatibility, and generally does not need SDK modification .

1. Create/purchase distributed messaging service RocketMQ

1.1 Enter the console and select the region where rocketmq is located, such as "Shanghai 1";
1.2 Select the model according to the required specifications and security groups
Note: Huawei Cloud rocketmq defaults to the cluster version, not the stand-alone version, so it will be more expensive.

2. RocketMQ use

The intranet connection information is shown in the figure below, and it can communicate with the VPC. It
insert image description here
can directly develop public network access (not recommended), and SSL (cannot be modified after creation)

2.1 Enable ACL access control

1. Enable ACL access control, the location is as shown in the figure above, after opening, user name & password are required to access
2. User management: Create and authorize users as shown in the figure below.
insert image description here

2.2 Topic Management

1. Manually create a topic, as shown in the figure below
insert image description here
2. Temporary processing of error reporting. If the program error log is as follows, you can try to manually create topic-"SJC_ERP_MESSAGE_TOPIC_TEST"
insert image description here

3. Message query

Check whether RocketMQ is available, click the icon to check whether mq has a success message
insert image description here

Guess you like

Origin blog.csdn.net/weixin_43460193/article/details/131200645