Modifying RocketMQ Topic Configurations
The topic permissions, brokers, and description can be modified for RocketMQ 4.8.0. The description can be modified for RocketMQ 5.x.
Prerequisites
- A RocketMQ instance has been purchased.
- A topic has been created.
Modifying Topic Information
- Log in to the console.
- Click
in the upper left corner to select a region.
DMS for RocketMQ instances in different regions cannot communicate with each other over an intranet. Select a nearest location for low latency and fast access.
- Click
and choose Middleware > 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 Instance > Topics.
- Modify topic parameters in either of the following ways:
- In the row containing the desired topic, 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
This parameter is mandatory for a RocketMQ 4.8.0 instance. The version can be viewed in the instance details.
Permissions of a topic.
Value range:
- Publish/Subscribe: Producers can send messages to this topic. Consumers can consume them from this topic.
- Publish: Producers can send messages to the topic. But consumers cannot consume them from this topic.
- Subscribe: Producers cannot send messages to this topic. But consumers can consume messages from this topic.
Permission modification takes effect immediately.
Brokers
This parameter is mandatory for a RocketMQ 4.8.0 instance. The version can be viewed in the instance details.
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.
Produced and consumed messages will be stored in new brokers.
Description
Topic description
0–200 characters
- Click OK.
Related Document
To modify a topic by calling an API, see Modifying a Topic.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot