Distributed Message Service RocketMQ

Creating Application Users and Passwords

2024-07-03 03:19:17

Background

After creating a message instance, you must create an application user so that the application can send and consume messages on this message instance.

l   Application user: A RocketMQ client requires permission verification when connected to the server for production and consumption. A RocketMQ client user is called an application user. Apart from password verification, a topic can be specified for the user. This means that the user can only produce and consume the messages of the specified topic rather than other topics.

Procedure

1.         On the eSurfing Cloud official website, click Control Center and select RocketMQ.

2.         Log in to the DMS RocketMQ console and click Region in the upper right corner to select the corresponding resource pool.

3.         Go to the instance list and click Manage to enter the management menu.

4. Go to the application user management (old mode) or role control (new mode) menu.

(1) Click Create User.

(2) Fill in the user field in the pop-up box.

l   Enter the application user name. A name consists of more than six characters. Only uppercase and lowercase letters, underscores and numbers are allowed.

l   Fill in the key. Please enter more than eight characters, including numbers, uppercase and lowercase letters, and special characters (!@#$%^&*).

l   Choose the default topic permission. PUB: production permission. SUB: consumption permission, DENY: no permission. PUB|SUB: both permissions.

l   Choose the default subscription group permission, as described above.


CJ8ijjAJgCtJ