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.
- Log on to the Message Queue for Apache Kafka console.
- In the Resource Distribution section of the Overview page, select the region where your instance resides.
- On the Instances page, click the name of the instance that you want to manage.
- In the left-side navigation pane, click Connectors.
- On the Connectors page, find the connector that you want to delete, and choose in the Actions column.
- In the Note message, click OK to delete the connector.
- 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, the system deletes the five topics and the consumer group that are used by the connector, regardless of whether the topics and the consumer group were automatically or manually created.