Message Queue for Apache Kafka limits the number of connectors for each instance. If you no longer need a connector, you can delete it in the Message Queue for Apache Kafka console.

Prerequisites

A connector is created. For more information about how to create a connector, see the following topics:

Procedure

  1. Log on to the Message Queue for Apache Kafka console.
  2. In the Resource Distribution section of the Overview page, select the region where your instance resides.
  3. On the Instances page, click the name of the instance that you want to manage.
  4. In the left-side navigation pane, click Connectors.
  5. On the Connectors page, find the connector that you want to delete, and choose More > Delete in the Actions column.
  6. In the Note message, click OK to delete the connector.
    Notice
    • If a MySQL source connector is in the Running state, you cannot directly delete the connector in the Message Queue for Apache Kafka console. You must log on to the DataWorks console to stop and unpublish the connector, and then submit a ticket to clear the metadata of the connector in Message Queue for Apache Kafka. You can directly delete Function Compute sink connectors, MaxCompute sink connectors, Object Storage Service (OSS) sink connectors, and Elasticsearch sink connectors in the Message Queue for Apache Kafka console.
    • When you delete a connector, Message Queue for Apache Kafka deletes the five topics and two consumer groups that are required by the connector, regardless of whether the topics and consumer groups were automatically or manually created.