Stop Kafka Connector

You can stop Kafka Connector by using one of the following procedures.

To stop Kafka Connector

  • Send the Stop service action to the service port.

    http://host:ServicePort/action=Stop

    where:

    host is the host name or IP address of the machine where Kafka Connector is installed.
    ServicePort is the Kafka Connector service port (specified in the [Service] section of the configuration file).
  • On Windows, if Kafka Connector is running as a service, stop Kafka Connector from the Windows Services dialog box.
  • On Linux, if Kafka Connector is running as a service, use one of the following commands:

    • On machines that use systemd:

      systemctl stop kafkaconnector

    • On machines that use system V:

      service kafkaconnector stop

  • On Linux, if you started Kafka Connector with the script start-kafkaconnector.sh, run the script stop-kafkaconnector.sh which is provided in the installation directory.