Updated on 2023-11-29 GMT+08:00

Deleting a Topic

Scenario

Delete topics if they are no longer needed.

Prerequisites

Topics can be deleted only when the instance is in the Running state.

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. Delete topics using any of the following methods:

    • In the row containing the topic you want to delete, click Delete.
    • Click a topic to go to the topic details page and then click Delete in the upper right corner.
    • To delete multiple topics at a time, select the topics, and click Delete Topic above the topic list.

    Exercise caution when deleting topics because data will be lost.

  7. Click Yes.