From 4334d34fc563551f95a774ac743998d518ee147c Mon Sep 17 00:00:00 2001 From: Yash Mayya Date: Tue, 2 May 2023 12:40:05 +0530 Subject: [PATCH 1/3] KAFKA-14876: Document the new 'PUT /connectors/{name}/stop' REST API for Connect --- docs/connect.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/connect.html b/docs/connect.html index b947bea3832a2..4f6ed2091fcec 100644 --- a/docs/connect.html +++ b/docs/connect.html @@ -301,7 +301,8 @@

REST API

  • GET /connectors/{name}/tasks - get a list of tasks currently running for a connector
  • GET /connectors/{name}/tasks/{taskid}/status - get current status of the task, including if it is running, failed, paused, etc., which worker it is assigned to, and error information if it has failed
  • PUT /connectors/{name}/pause - pause the connector and its tasks, which stops message processing until the connector is resumed
  • -
  • PUT /connectors/{name}/resume - resume a paused connector (or do nothing if the connector is not paused)
  • +
  • PUT /connectors/{name}/stop - stop the connector and its tasks, and also remove its tasks from the Connect cluster. This is different from the paused state where the tasks aren't stopped and removed, but only suspended.
  • +
  • PUT /connectors/{name}/resume - resume a paused or stopped connector (or do nothing if the connector is not paused or stopped)
  • POST /connectors/{name}/restart?includeTasks=<true|false>&onlyFailed=<true|false> - restart a connector and its tasks instances.