For the complete documentation index, see llms.txt. This page is also available as Markdown.

K2K Apps

Kafka 2 Kafka application management

get

Retrieves a single K2KApp by name.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
namestringRequired
Query parameters
expand_metricsbooleanOptional

Includes metrics in the response, if available.

Responses
200

Happy response.

application/json

Defines a K2KApp (Kafka-to-Kafka application).

apiVersionstring · min: 1Required
kindstring · min: 1Required
get/api/v0/apps/k2k/{name}
put

Creates a new K2KApp or updates an existing one.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
namestringRequired
Body

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
Responses
201

Happy response.

application/json

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
put/api/v0/apps/k2k/{name}
delete

Deletes a single K2KApp by name.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
namestringRequired
Query parameters
forcebooleanOptional

Deletes the K2KApp instantly and skips waiting for deletion of any corresponding K8s resources.

Responses
200

Happy response.

application/json

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
delete/api/v0/apps/k2k/{name}
patch

Updates an existing K2KApp.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
namestringRequired
Body

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
Responses
200

Happy response.

application/json

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
patch/api/v0/apps/k2k/{name}
get

Lists all K2KApps.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Query parameters
expand_metrics_summarybooleanOptional

Includes metrics summaries in the response, if available.

Responses
200

Happy response.

application/json

Contains K2KApps (Kafka-to-Kafka applications).

get/api/v0/apps/k2k
post

Creates a new K2KApp.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Body

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
Responses
201

Happy response.

application/json

Contains common fields shared by HQ manifests.

apiVersionstring · min: 1Required
kindstring · min: 1Required
post/api/v0/apps/k2k

Update Consumer Group Offsets for multiple partitions

put

Update the committed offsets for multiple topic partitions for a given K2K application.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
namestringRequired

The unique name for the K2K application.

Example: my-app-prod
Body

Defines the request body for updating K2K offsets, containing an array of topic-partition-offset tuples.

Responses
200

Offsets successfully updated.

application/json
application_namestringRequiredExample: my-app-prod
put/api/v0/apps/k2k/{name}/position/offsets

Update Consumer Group Offsets based on timestamp

put

Update the committed offsets for multiple topics based on a timestamp. The offsets will be set to the earliest offset whose timestamp is greater than or equal to the given timestamp.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Path parameters
namestringRequired

The unique name for the K2K application.

Example: my-app-prod
Body

Defines the request body for updating K2K offsets based on a timestamp for multiple topics.

timestampstring · date-timeRequired

RFC3339 timestamp to seek offsets to.

Example: 2025-01-14T10:03:00Z
topicsstring[] · min: 1Required

List of Kafka topic names to update offsets for.

Example: ["user-login-events","orders","payments"]
Responses
200

Offsets successfully updated.

application/json
application_namestringRequiredExample: my-app-prod
put/api/v0/apps/k2k/{name}/position/timestamp
get

Provides Server-Sent Events (SSE) for K2KApp updates. TODO.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Responses
default

Error object.

application/json

Implements the RFC7807 "Problem Details", see https://www.rfc-editor.org/rfc/rfc7807.

typestring · enumOptional

Enumerates possible error types.

Possible values:
titlestringRequired

Describes the problem in a human readable fashion.

statusintegerRequired

Is a copy of the http status code.

sso_urlstringOptional

Contains in case of an "unauthorised" type of error, the url of the SSO provider, if any.

request_idstringOptional

Is set to the id of this request. Can be used to correlate backend logs.

get/api/v1/apps/k2k/live/sse
default

Error object.

Last updated

Was this helpful?