Updated on 2025-07-28 GMT+08:00

Deleting a RocketMQ Topic

If a topic is no longer used, you can delete it to release resources by referring to this section.

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

Prerequisites

  • A RocketMQ instance has been purchased.
  • A topic has been created.

Deleting a Topic

  1. Log in to the console.
  2. 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.

  3. Click and choose Middleware > 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 Instance > Topics.
  6. Delete topics in any of the following ways:

    Exercise caution when deleting topics because data will be lost.

    • In the row containing the topic to be deleted, 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.

  7. Click OK.