Pausing the DataStax Apache Kafka Connector

Stops the tasks that the DataStax Apache Kafka™ Connector is running without removing the configuration from the worker.

When performing routine maintenance, pause the DataStax Connector to prevent errors and then resume it once the maintenance is complete. Pause stops the tasks that the DataStac Connector is running without removing the configuration from the worker. To stop running tasks, use the following Kafka Connect REST API command:
curl -X PUT "http://worker_ip:port/connectors/connector_name/pause”
where
  • worker_ip - The hostname or IP address of the Kafka Connect worker.
  • port - The listening port for the Kafka Connect REST API. By default this service runs on port 8083.
  • connector_name - DataStax Apache Kafka™ Connector name.

Example - pause

curl -X PUT “http://localhost:8083/connectors/dse-sink-distributed-example/pause”
Tip: On success there is no output for this command.