Deleting an Instance

Scenario

On the DMS console, you can delete one or more Kafka instances that have been created or failed to be created.

Important

Deleting a Kafka instance will delete the data in the instance without any backup. Exercise caution when performing this operation.

Prerequisites

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

Deleting Kafka Instances

  1. Log in to the management console.

  2. Click image1 in the upper left corner to select a region.

    Note

    Select the region where your Kafka instance is located.

  3. Click Service List and choose Application > Distributed Message Service. The Kafka instance list is displayed.

  4. Delete Kafka instances using one of the following methods:

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

    Note

    Kafka instances in the Creating, Starting, Changing, Change failed, or Restarting state cannot be deleted.

  5. In the Delete Instance dialog box, click Yes to delete the Kafka instance.

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

Deleting Kafka Instances That Failed to Be Created

  1. Log in to the management console.

  2. Click image2 in the upper left corner to select a region.

    Note

    Select the region where your Kafka instance is located.

  3. Click Service List and choose Application > Distributed Message Service. The Kafka instance list is displayed.

  4. If there are Kafka instances that failed to be created, Instance Creation Failures and quantity information will be displayed.

    Note

    Instances that fail to be created do not occupy other resources.

  5. Click Instance Creation Failures or the icon or quantity next to it.

  6. Delete Kafka instances that failed to be created in either of the following ways:

    • To delete all Kafka instances that failed to be created at once, click Clear Failed Instance.

    • To delete a single Kafka instance that failed to be created, click Delete in the row containing the chosen Kafka instance.