Kafka Connect
Returns a list of all connectors, optionally filtered by cluster and connector class name
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/kafka-connect/connectors HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Creates a new connector with the specified configuration
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/kafka-connect/connectors HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"name": "connector",
"cluster": "cluster",
"configuration": {
"connector.class": "org...FileStreamSinkConnector"
}
}{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Returns detailed information about a specific connector including its configuration, status, and tasks
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Deletes a connector and stops all of its tasks
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
DELETE /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Returns a list of all connector plugins installed in the Connect cluster(s), optionally filtered by cluster
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/kafka-connect/plugins HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Updates the state of a connector. Supported actions: start, stop, restart, pause, resume
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector}/{action} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Restarts a specific task of a connector by task ID
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PUT /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector}/tasks/{p1}/restart HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Validates a connector configuration without creating the connector
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
POST /api/v1/environments/{environment}/proxy/api/kafka-connect/validate HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 108
{
"name": "connector",
"cluster": "cluster",
"configuration": {
"connector.class": "org...FileStreamSinkConnector"
}
}{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Returns a list of topic names that a connector has been using since its creation or since the last time its set of active topics was reset. Returns an empty list for connectors that don't have active topics or non-existent connectors
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector}/topics HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Returns information about the Connect cluster including version and name
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/info HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Retrieves the offsets for a connector. For source connectors, returns connector-defined source partitions and offsets. For sink connectors, returns Kafka topic/partition and offset information.
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
GET /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector}/offsets HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Resets/deletes the offsets for a connector. The connector must be in the STOPPED state. This completely removes the connector's offset data.
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
DELETE /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector}/offsets HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Alters the offsets for a connector. The connector must be in the STOPPED state. The request body uses the same format as the GET response, allowing you to retrieve offsets, modify them, and submit them back.
The bearer token can be obtained by creating a ServiceAccount.
The request input was invalid
Authentication error
The purchased Lenses license does not provide access to this feature
Authorisation error
The requested resource cannot be found
An internal server error has occurred
PATCH /api/v1/environments/{environment}/proxy/api/kafka-connect/clusters/{cluster}/connectors/{connector}/offsets HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 46
{
"offsets": [
{
"partition": null,
"offset": null
}
]
}{
"fields": [
{
"field": "text",
"error": "text",
"lineNumber": 1,
"columnNumber": 1
}
],
"error": "text",
"errorType": "text"
}Last updated
Was this helpful?

