Updated on 2026-01-07 GMT+08:00

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

A topic has been created.

Modifying Topic Information

  1. Log in to the RocketMQ console.
  2. Click a RocketMQ instance name to go to the instance overview page.
  3. In the navigation pane, choose Instance > Topics.
  4. 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.

  5. 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

  6. Click OK.

Related Document

To modify a topic by calling an API, see Modifying a Topic.