Updated on 2023-06-14 GMT+08:00

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.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner to select a region.

    Select the region where your RocketMQ instance is located.

  3. Click and choose Application > Distributed Message Service for RocketMQ to open the console of DMS for RocketMQ.
  4. Click a RocketMQ instance to go to the instance details page.
  5. In the navigation pane, choose Topics.
  6. 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.

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

  8. Click OK.