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.
Prerequisite
Modifying Topic Information
- Log in to the RocketMQ console.
- Click a RocketMQ instance name to go to the instance overview 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 overview.
Permissions for the topic.
Options:
- 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 overview.
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.