List connectors Run in API Explorer

GET /v1/kafka-connect/clusters/{cluster_name}/connectors

List connectors managed by the Kafka Connect service.

Path parameters

  • cluster_name string Required

    Unique name of target connect cluster. For Redpanda Cloud, use redpanda.

Query parameters

  • page_token string

    Value of the next_page_token field returned by the previous response. If not provided, the system assumes the first page is requested.

  • page_size integer(int32)

    Limit the paginated response to a number of items. Defaults to 100. Use -1 to disable pagination.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • connectors array[object]

      List of connectors, where the parent key is the connector name.

      Hide connectors attributes Show connectors attributes object
      • info object

        Connector specifications as defined in the Kafka Connect API. You may include this in the request body when creating a new connector.

        Hide info attributes Show info attributes object
        • config object Required

          Connector configuration properties.

          Hide config attribute Show config attribute object
          • * string Additional properties
        • name string Required

          Name of connector.

        • tasks array[object]
          Hide tasks attributes Show tasks attributes object
          • connector string

            Name of connector.

          • task integer(int32)

            The connector task ID.

        • type string
      • name string

        Name of connector.

      • status object
        Hide status attributes Show status attributes object
        • connector object
          Hide connector attributes Show connector attributes object
          • state string

            State of the connector instance.

          • trace string

            String value of stack trace.

          • worker_id string

            ID of worker that the connector is assigned to.

        • errors array[object]

          List of parsed connectors' and tasks' errors.

          Hide errors attributes Show errors attributes object
          • content string

            Detailed description of the error.

          • title string

            Short description of the error.

          • type string

            Error level.

            Values are TYPE_ERROR or TYPE_WARNING.

        • holistic_state string

          State of a connector or one of its tasks, as described in the Kafka Connect documentation. Takes into account not just the state of the connector instance itself, but also the tasks within the connector.

          • CONNECTOR_HOLISTIC_STATE_PAUSED: The connector or task has been administratively paused.
          • CONNECTOR_HOLISTIC_STATE_RESTARTING: The connector or task is restarting.
          • CONNECTOR_HOLISTIC_STATE_DESTROYED: The connector is destroyed, regardless of any tasks.
          • CONNECTOR_HOLISTIC_STATE_STOPPED: The connector or task has been stopped.
          • CONNECTOR_HOLISTIC_STATE_UNASSIGNED: - The connector or task has not yet been assigned to a worker,
            • THe connector is running, but there are unassigned tasks.
          • CONNECTOR_HOLISTIC_STATE_HEALTHY: The connector is running, > 0 tasks, all of them in running state.
          • CONNECTOR_HOLISTIC_STATE_UNHEALTHY: - The connector has failed,
            • The connector is running, but has no tasks,
            • Connector is running and has tasks, but all tasks have failed.
          • CONNECTOR_HOLISTIC_STATE_DEGRADED: The connector is running and has tasks, and at least one task, but not all, have failed.
          • CONNECTOR_HOLISTIC_STATE_UNKNOWN: The connector or task state could not be determined.

          Values are CONNECTOR_HOLISTIC_STATE_PAUSED, CONNECTOR_HOLISTIC_STATE_RESTARTING, CONNECTOR_HOLISTIC_STATE_DESTROYED, CONNECTOR_HOLISTIC_STATE_STOPPED, CONNECTOR_HOLISTIC_STATE_UNASSIGNED, CONNECTOR_HOLISTIC_STATE_HEALTHY, CONNECTOR_HOLISTIC_STATE_UNHEALTHY, CONNECTOR_HOLISTIC_STATE_DEGRADED, or CONNECTOR_HOLISTIC_STATE_UNKNOWN.

        • name string

          Name of connector.

        • tasks array[object]
          Hide tasks attributes Show tasks attributes object
          • id integer(int32)

            The connector task ID.

          • state string

            State of connector task.

          • trace string

            String value of stack trace.

          • worker_id string

            ID of worker that the task is assigned to.

        • type string

          Type of connector (sink or source).

    • next_page_token string

      Page Token to fetch the next page. The value can be used as page_token in the next call to this endpoint.

  • 401 application/json

    Unauthenticated.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • 500 application/json

    Internal Server Error. Reach out to support.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

  • default application/json

    An unexpected error response.

    Hide response attributes Show response attributes object
    • code string(int32)

      RPC status code, as described here.

      Values are OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, or DATA_LOSS.

    • details array[object]

      A list of messages that carries the error details.

      Details of the error.

      Details of the error.

      One of:
    • message string

      Detailed error message. No compatibility guarantees are given for the text contained in this message.

GET /v1/kafka-connect/clusters/{cluster_name}/connectors
curl \
 --request GET 'https://{dataplane_api_subdomain}.cloud.redpanda.com/v1/kafka-connect/clusters/{cluster_name}/connectors' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "connectors": [
    {
      "info": {
        "config": {
          "additionalProperty1": "string",
          "additionalProperty2": "string"
        },
        "name": "string",
        "tasks": [
          {
            "connector": "string",
            "task": 42
          }
        ],
        "type": "string"
      },
      "name": "string",
      "status": {
        "connector": {
          "state": "string",
          "trace": "string",
          "worker_id": "string"
        },
        "errors": [
          {
            "content": "string",
            "title": "string",
            "type": "TYPE_ERROR"
          }
        ],
        "holistic_state": "CONNECTOR_HOLISTIC_STATE_PAUSED",
        "name": "string",
        "tasks": [
          {
            "id": 42,
            "state": "string",
            "trace": "string",
            "worker_id": "string"
          }
        ],
        "type": "string"
      }
    }
  ],
  "next_page_token": "string"
}
Response examples (401)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (500)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string"
        }
      ]
    }
  ],
  "message": "string"
}
Response examples (default)
{
  "code": "OK",
  "details": [
    {
      "@type": "type.googleapis.com/google.rpc.BadRequest",
      "field_violations": [
        {
          "description": "string",
          "field": "string"
        }
      ]
    }
  ],
  "message": "string"
}