Modifying Topic Parameters
Scenario
After a topic is created, you can modify the following parameters based on service requirements: the number of read queues, number of write queues, topic permission, and associated brokers.
Note
This function is supported only for RocketMQ 4.8.0 and not for 5.x.
Procedure
- Log in to the console.
- Click
in the upper left corner to select a region.
NoteSelect the region where your RocketMQ instance is located.
- Click
and choose Application > Distributed Message Service for RocketMQ to open the console of DMS for RocketMQ.
- Click a RocketMQ instance to go to the instance details page.
- In the navigation pane, choose Topics.
- Modify topic parameters using either of the following methods:
- In the row containing the topic whose parameters you want to modify, click Edit.
- Click a topic to go to the topic details page and then click Edit in the upper right corner.
- Modify topic parameters by referring to Table 1.
Table 1 Topic parameters Parameter
Description
Permission
Topic permission, which can be publish/subscribe, publish, or subscribe.
Brokers
Change the number of read queues or write queues.
- Read queues: total number of available queues in the topic for reading data.
- Write queues: total number of available queues in the topic for writing data.
If an existing topic is not associated with all brokers during creation, click Add to distribute the topic to more brokers and set the number of read queues and write queues.
Description
Topic description.
0–200 characters
- Click OK.
Parent topic: Managing Topics
- Scenario
- Procedure