k2kapps
Retrieves a single K2KApp by name.
Includes metrics in the response, if available.
Happy response.
Extends a K2KApp with additional metrics, if available.
Error object.
GET /v0/apps/k2k/{name} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2025-10-24T17:09:36.715Z",
"generation": 1
},
"spec": {
"sourceClusterLRN": "kafka:cluster/my-environment/kafka",
"targetClusterLRN": "kafka:cluster/my-environment/kafka",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"kubernetes": {
"commonMetadata": {
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"securityContext": {
"runAsUser": 1,
"runAsGroup": 1,
"runAsNonRoot": true
},
"imagePullSecrets": [
{
"name": "text"
}
],
"serviceAccount": "text",
"image": "text",
"resources": {
"requests": {
"cpu": "text",
"memory": "text"
},
"limits": {
"cpu": "text",
"memory": "text"
}
}
},
"replicator": {
"schemaMapping": true,
"exactlyOnce": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true
},
"paused": true
},
"status": {
"updatedAt": "2025-10-24T17:09:36.715Z",
"state": "deploying",
"statusLastTransitionAt": "2025-10-24T17:09:36.715Z",
"statusMessage": "text",
"observedGeneration": 1,
"deployment": {
"inSync": true,
"managedResources": [
{
"name": "text",
"namespace": "text",
"kind": "text",
"status": "text",
"reason": "text"
}
],
"pods": [
{
"name": "text",
"namespace": "text",
"state": "text",
"reason": "text"
}
]
},
"kafka": {
"consumerGroup": "text"
}
},
"metrics": {
"topic_metrics": [
{
"target_topic_lrn": "text",
"source_topic_lrn": "text",
"offsets": {
"updated_at": "2025-10-24T17:09:36.715Z",
"offsets": [
{
"partition": 1,
"offset": 1,
"lag": 1
}
]
},
"throughput": {
"updated_at": "2025-10-24T17:09:36.715Z",
"input_bytes_per_second": 1,
"input_records_per_second": 1,
"output_bytes_per_second": 1,
"output_records_per_second": 1
}
}
],
"state": "unknown",
"updated_at": "2025-10-24T17:09:36.715Z",
"error_message": "text"
}
}Creates a new K2KApp or updates an existing one.
Defines a K2KApp (Kafka-to-Kafka application).
Happy response.
Defines a K2KApp (Kafka-to-Kafka application).
Error object.
PUT /v0/apps/k2k/{name} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 908
"apiVersion: text
kind: text
metadata:
name: text
displayName: text
description: text
id: text
lrn: text
creationTimestamp: '2025-10-24T17:09:36.715Z'
generation: 1
spec:
sourceClusterLRN: kafka:cluster/my-environment/kafka
targetClusterLRN: kafka:cluster/my-environment/kafka
topics:
- text
deploymentNamespaceLRN: kubernetes:namespace/my-environment/incluster/my-namespace
kubernetes:
commonMetadata:
labels:
ANY_ADDITIONAL_PROPERTY: text
annotations:
ANY_ADDITIONAL_PROPERTY: text
securityContext:
runAsUser: 1
runAsGroup: 1
runAsNonRoot: true
imagePullSecrets:
- name: text
serviceAccount: text
image: text
resources:
requests:
cpu: text
memory: text
limits:
cpu: text
memory: text
replicator:
schemaMapping: true
exactlyOnce: true
autoCreateTopics: true
autoCreateControlTopics: true
paused: true
"{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2025-10-24T17:09:36.715Z",
"generation": 1
},
"spec": {
"sourceClusterLRN": "kafka:cluster/my-environment/kafka",
"targetClusterLRN": "kafka:cluster/my-environment/kafka",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"kubernetes": {
"commonMetadata": {
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"securityContext": {
"runAsUser": 1,
"runAsGroup": 1,
"runAsNonRoot": true
},
"imagePullSecrets": [
{
"name": "text"
}
],
"serviceAccount": "text",
"image": "text",
"resources": {
"requests": {
"cpu": "text",
"memory": "text"
},
"limits": {
"cpu": "text",
"memory": "text"
}
}
},
"replicator": {
"schemaMapping": true,
"exactlyOnce": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true
},
"paused": true
},
"status": {
"updatedAt": "2025-10-24T17:09:36.715Z",
"state": "deploying",
"statusLastTransitionAt": "2025-10-24T17:09:36.715Z",
"statusMessage": "text",
"observedGeneration": 1,
"deployment": {
"inSync": true,
"managedResources": [
{
"name": "text",
"namespace": "text",
"kind": "text",
"status": "text",
"reason": "text"
}
],
"pods": [
{
"name": "text",
"namespace": "text",
"state": "text",
"reason": "text"
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Deletes a single K2KApp by name.
Deletes the K2KApp instantly and skips waiting for deletion of any corresponding K8s resources.
Happy response.
Defines a K2KApp (Kafka-to-Kafka application).
Error object.
DELETE /v0/apps/k2k/{name} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2025-10-24T17:09:36.715Z",
"generation": 1
},
"spec": {
"sourceClusterLRN": "kafka:cluster/my-environment/kafka",
"targetClusterLRN": "kafka:cluster/my-environment/kafka",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"kubernetes": {
"commonMetadata": {
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"securityContext": {
"runAsUser": 1,
"runAsGroup": 1,
"runAsNonRoot": true
},
"imagePullSecrets": [
{
"name": "text"
}
],
"serviceAccount": "text",
"image": "text",
"resources": {
"requests": {
"cpu": "text",
"memory": "text"
},
"limits": {
"cpu": "text",
"memory": "text"
}
}
},
"replicator": {
"schemaMapping": true,
"exactlyOnce": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true
},
"paused": true
},
"status": {
"updatedAt": "2025-10-24T17:09:36.715Z",
"state": "deploying",
"statusLastTransitionAt": "2025-10-24T17:09:36.715Z",
"statusMessage": "text",
"observedGeneration": 1,
"deployment": {
"inSync": true,
"managedResources": [
{
"name": "text",
"namespace": "text",
"kind": "text",
"status": "text",
"reason": "text"
}
],
"pods": [
{
"name": "text",
"namespace": "text",
"state": "text",
"reason": "text"
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Updates an existing K2KApp.
Defines a K2KApp (Kafka-to-Kafka application).
Happy response.
Defines a K2KApp (Kafka-to-Kafka application).
Error object.
PATCH /v0/apps/k2k/{name} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 908
"apiVersion: text
kind: text
metadata:
name: text
displayName: text
description: text
id: text
lrn: text
creationTimestamp: '2025-10-24T17:09:36.715Z'
generation: 1
spec:
sourceClusterLRN: kafka:cluster/my-environment/kafka
targetClusterLRN: kafka:cluster/my-environment/kafka
topics:
- text
deploymentNamespaceLRN: kubernetes:namespace/my-environment/incluster/my-namespace
kubernetes:
commonMetadata:
labels:
ANY_ADDITIONAL_PROPERTY: text
annotations:
ANY_ADDITIONAL_PROPERTY: text
securityContext:
runAsUser: 1
runAsGroup: 1
runAsNonRoot: true
imagePullSecrets:
- name: text
serviceAccount: text
image: text
resources:
requests:
cpu: text
memory: text
limits:
cpu: text
memory: text
replicator:
schemaMapping: true
exactlyOnce: true
autoCreateTopics: true
autoCreateControlTopics: true
paused: true
"{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2025-10-24T17:09:36.715Z",
"generation": 1
},
"spec": {
"sourceClusterLRN": "kafka:cluster/my-environment/kafka",
"targetClusterLRN": "kafka:cluster/my-environment/kafka",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"kubernetes": {
"commonMetadata": {
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"securityContext": {
"runAsUser": 1,
"runAsGroup": 1,
"runAsNonRoot": true
},
"imagePullSecrets": [
{
"name": "text"
}
],
"serviceAccount": "text",
"image": "text",
"resources": {
"requests": {
"cpu": "text",
"memory": "text"
},
"limits": {
"cpu": "text",
"memory": "text"
}
}
},
"replicator": {
"schemaMapping": true,
"exactlyOnce": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true
},
"paused": true
},
"status": {
"updatedAt": "2025-10-24T17:09:36.715Z",
"state": "deploying",
"statusLastTransitionAt": "2025-10-24T17:09:36.715Z",
"statusMessage": "text",
"observedGeneration": 1,
"deployment": {
"inSync": true,
"managedResources": [
{
"name": "text",
"namespace": "text",
"kind": "text",
"status": "text",
"reason": "text"
}
],
"pods": [
{
"name": "text",
"namespace": "text",
"state": "text",
"reason": "text"
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Lists all K2KApps.
Includes metrics summaries in the response, if available.
Happy response.
Error object.
GET /v0/apps/k2k HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2025-10-24T17:09:36.715Z",
"generation": 1
},
"spec": {
"sourceClusterLRN": "kafka:cluster/my-environment/kafka",
"targetClusterLRN": "kafka:cluster/my-environment/kafka",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"kubernetes": {
"commonMetadata": {
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"securityContext": {
"runAsUser": 1,
"runAsGroup": 1,
"runAsNonRoot": true
},
"imagePullSecrets": [
{
"name": "text"
}
],
"serviceAccount": "text",
"image": "text",
"resources": {
"requests": {
"cpu": "text",
"memory": "text"
},
"limits": {
"cpu": "text",
"memory": "text"
}
}
},
"replicator": {
"schemaMapping": true,
"exactlyOnce": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true
},
"paused": true
},
"status": {
"updatedAt": "2025-10-24T17:09:36.715Z",
"state": "deploying",
"statusLastTransitionAt": "2025-10-24T17:09:36.715Z",
"statusMessage": "text",
"observedGeneration": 1,
"deployment": {
"inSync": true,
"managedResources": [
{
"name": "text",
"namespace": "text",
"kind": "text",
"status": "text",
"reason": "text"
}
],
"pods": [
{
"name": "text",
"namespace": "text",
"state": "text",
"reason": "text"
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
},
{
"metrics_summary": {
"topics_count": 1,
"partitions_count": 1,
"total_bytes_per_second_read": 1,
"total_bytes_per_second_written": 1,
"total_records_per_second_read": 1,
"total_records_per_second_written": 1,
"state": "unknown",
"updated_at": "2025-10-24T17:09:36.715Z",
"error_message": "text"
}
}
]
}Creates a new K2KApp.
Defines a K2KApp (Kafka-to-Kafka application).
Happy response.
Defines a K2KApp (Kafka-to-Kafka application).
Error object.
POST /v0/apps/k2k HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 908
"apiVersion: text
kind: text
metadata:
name: text
displayName: text
description: text
id: text
lrn: text
creationTimestamp: '2025-10-24T17:09:36.715Z'
generation: 1
spec:
sourceClusterLRN: kafka:cluster/my-environment/kafka
targetClusterLRN: kafka:cluster/my-environment/kafka
topics:
- text
deploymentNamespaceLRN: kubernetes:namespace/my-environment/incluster/my-namespace
kubernetes:
commonMetadata:
labels:
ANY_ADDITIONAL_PROPERTY: text
annotations:
ANY_ADDITIONAL_PROPERTY: text
securityContext:
runAsUser: 1
runAsGroup: 1
runAsNonRoot: true
imagePullSecrets:
- name: text
serviceAccount: text
image: text
resources:
requests:
cpu: text
memory: text
limits:
cpu: text
memory: text
replicator:
schemaMapping: true
exactlyOnce: true
autoCreateTopics: true
autoCreateControlTopics: true
paused: true
"{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2025-10-24T17:09:36.715Z",
"generation": 1
},
"spec": {
"sourceClusterLRN": "kafka:cluster/my-environment/kafka",
"targetClusterLRN": "kafka:cluster/my-environment/kafka",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"kubernetes": {
"commonMetadata": {
"labels": {
"ANY_ADDITIONAL_PROPERTY": "text"
},
"annotations": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"securityContext": {
"runAsUser": 1,
"runAsGroup": 1,
"runAsNonRoot": true
},
"imagePullSecrets": [
{
"name": "text"
}
],
"serviceAccount": "text",
"image": "text",
"resources": {
"requests": {
"cpu": "text",
"memory": "text"
},
"limits": {
"cpu": "text",
"memory": "text"
}
}
},
"replicator": {
"schemaMapping": true,
"exactlyOnce": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true
},
"paused": true
},
"status": {
"updatedAt": "2025-10-24T17:09:36.715Z",
"state": "deploying",
"statusLastTransitionAt": "2025-10-24T17:09:36.715Z",
"statusMessage": "text",
"observedGeneration": 1,
"deployment": {
"inSync": true,
"managedResources": [
{
"name": "text",
"namespace": "text",
"kind": "text",
"status": "text",
"reason": "text"
}
],
"pods": [
{
"name": "text",
"namespace": "text",
"state": "text",
"reason": "text"
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Provides Server-Sent Events (SSE) for K2KApp updates. TODO.
Error object.
GET /v1/apps/k2k/live/sse HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
Error object.
{
"type": "not_found",
"title": "text",
"status": 1,
"invalid_fields": [
{
"name": "text",
"error": "reference_not_found",
"title": "text"
}
],
"sso_url": "text",
"request_id": "text"
}Last updated
Was this helpful?

