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
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

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

Responses
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
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

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

Responses
200

Happy response.

application/json
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
get
/api/v0/apps/k2k
post

Creates a new K2KApp.

Authorizations
AuthorizationstringRequired

The bearer token can be obtained by creating a ServiceAccount.

Body

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

Responses
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
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
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
get
/api/v1/apps/k2k/live/sse
default

Error object.

Last updated

Was this helpful?