Updated on 2025-02-14 GMT+08:00

Deleting Kafka Instances

For pay-per-use Kafka instances, you can delete one or more of them in batches on the console. For yearly/monthly Kafka instances, if you no longer need them, choose More > Unsubscribe in the Operation column. Kafka instances will be automatically deleted upon unsubscription.

Manage deleted instances using recycle bin policies. Deleting instances when no recycle bin policies are enabled clears instance data permanently. Recycle bin policies are disabled by default. To enable them, see Procedure.

Prerequisites

The status of the Kafka instance you want to delete is Running, Faulty, or Frozen.

Procedure

  1. Log in to the console.
  2. Click in the upper left corner to select the region where your instance is located.
  3. Click and choose Middleware > Distributed Message Service (for Kafka) to open the console of DMS for Kafka.
  4. In the navigation pane, choose Kafka Instances.
  5. Delete pay-per-use Kafka instances in either of the following ways:

    • Select one or more Kafka instances and click Delete in the upper left corner.
    • In the row containing the Kafka instance to be deleted, choose More > Delete.
    • Click the desired Kafka instance to go to the instance details page. In the upper right corner, choose More > Delete.

  6. In the Delete Instance dialog box, enter DELETE and click OK to delete the Kafka instance.

    It takes 1 to 60 seconds to delete a Kafka instance.