Kafka Connect - How to delete a connector

To delete a connector, you can run:

curl -X DELETE http://localhost:8083/connectors/<connector-name>

You can use the Kafka Connect REST API, which includes an endpoint for DELETEing a connector.

curl -X DELETE http://$KAFKACONNECTWORKER_HOST:$KAFKACONNECTWORKER_PORT/connectors/$CONNECTOR_NAME

For example:

curl -X DELETE http://localhost:8083/connectors/src-jdbc-orders

🎥 See it in action here: https://www.youtube.com/watch?v=1EenWEm-5dg&t=378s