K2K Apps
Kafka 2 Kafka application management
Retrieves a single K2KApp by name.
The bearer token can be obtained by creating a ServiceAccount.
Includes metrics in the response, if available.
Happy response.
Defines a K2KApp (Kafka-to-Kafka application).
Error object.
GET /api/v0/apps/k2k/{name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2026-01-01T00:00:00.000Z",
"generation": 1
},
"spec": {
"sourceKafkaLRN": "environments:kafka-connection/my-source-environment/plaintext",
"targetKafkaLRN": "environments:kafka-connection/my-target-environment/plaintext",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"replicas": 1,
"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,
"headerReplication": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true,
"keepRecordCreationTimestamp": true,
"errorHandling": {
"onCommitSyncTimeout": "fail",
"onControlMessageDeserializationError": "fail"
},
"tracingHeaders": {
"partition": true,
"offset": true,
"topic": true,
"pipeline": true
},
"coordination": {
"commit": {
"topic": "text",
"syncTimeoutSeconds": 1,
"batchSize": 1,
"batchTimeoutSeconds": 1
},
"assignment": {
"topic": "text",
"graceWindowSeconds": 1,
"fencingMaxParallelism": 1
}
},
"bidirectional": {
"enabled": true,
"mode": "cluster",
"headerName": "text"
}
},
"paused": true,
"configOverrides": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"status": {
"updatedAt": "2026-01-01T00:00:00.000Z",
"state": "deploying",
"statusLastTransitionAt": "2026-01-01T00:00:00.000Z",
"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",
"lastTermination": {
"message": "text",
"time": "2026-01-01T00:00:00.000Z"
}
}
]
},
"kafka": {
"consumerGroup": "text"
}
},
"metrics": {
"state": "unknown",
"updated_at": "2026-01-01T00:00:00.000Z",
"error_message": "text",
"source_topics": [
{
"lrn": "text",
"name": "text",
"throughput": {
"updated_at": "2026-01-01T00:00:00.000Z",
"bytes_per_second": 1,
"records_per_second": 1
},
"offsets": {
"updated_at": "2026-01-01T00:00:00.000Z",
"partitions": [
{
"partition": 0,
"log_end_offset": 1
}
]
}
}
],
"destination_topics": [
{
"lrn": "text",
"name": "text",
"throughput": {
"updated_at": "2026-01-01T00:00:00.000Z",
"bytes_per_second": 1,
"records_per_second": 1
},
"offsets": {
"updated_at": "2026-01-01T00:00:00.000Z",
"partitions": [
{
"partition": 0,
"log_end_offset": 1,
"lag": 1
}
]
}
}
],
"errors": [
"text"
]
}
}Creates a new K2KApp or updates an existing one.
The bearer token can be obtained by creating a ServiceAccount.
Contains common fields shared by HQ manifests.
Happy response.
Contains common fields shared by HQ manifests.
Error object.
PUT /api/v0/apps/k2k/{name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 1426
"apiVersion: text
kind: text
metadata:
name: text
displayName: text
description: text
spec:
sourceKafkaLRN: environments:kafka-connection/my-source-environment/plaintext
targetKafkaLRN: environments:kafka-connection/my-target-environment/plaintext
topics:
- text
deploymentNamespaceLRN: kubernetes:namespace/my-environment/incluster/my-namespace
replicas: 1
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
headerReplication: true
autoCreateTopics: true
autoCreateControlTopics: true
keepRecordCreationTimestamp: true
errorHandling:
onCommitSyncTimeout: fail
onControlMessageDeserializationError: fail
tracingHeaders:
partition: true
offset: true
topic: true
pipeline: true
coordination:
commit:
topic: text
syncTimeoutSeconds: 1
batchSize: 1
batchTimeoutSeconds: 1
assignment:
topic: text
graceWindowSeconds: 1
fencingMaxParallelism: 1
bidirectional:
enabled: true
mode: cluster
headerName: text
paused: true
configOverrides:
ANY_ADDITIONAL_PROPERTY: anything
"{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2026-01-01T00:00:00.000Z",
"generation": 1
},
"spec": {
"sourceKafkaLRN": "environments:kafka-connection/my-source-environment/plaintext",
"targetKafkaLRN": "environments:kafka-connection/my-target-environment/plaintext",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"replicas": 1,
"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,
"headerReplication": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true,
"keepRecordCreationTimestamp": true,
"errorHandling": {
"onCommitSyncTimeout": "fail",
"onControlMessageDeserializationError": "fail"
},
"tracingHeaders": {
"partition": true,
"offset": true,
"topic": true,
"pipeline": true
},
"coordination": {
"commit": {
"topic": "text",
"syncTimeoutSeconds": 1,
"batchSize": 1,
"batchTimeoutSeconds": 1
},
"assignment": {
"topic": "text",
"graceWindowSeconds": 1,
"fencingMaxParallelism": 1
}
},
"bidirectional": {
"enabled": true,
"mode": "cluster",
"headerName": "text"
}
},
"paused": true,
"configOverrides": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"status": {
"updatedAt": "2026-01-01T00:00:00.000Z",
"state": "deploying",
"statusLastTransitionAt": "2026-01-01T00:00:00.000Z",
"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",
"lastTermination": {
"message": "text",
"time": "2026-01-01T00:00:00.000Z"
}
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Deletes a single K2KApp by name.
The bearer token can be obtained by creating a ServiceAccount.
Deletes the K2KApp instantly and skips waiting for deletion of any corresponding K8s resources.
Happy response.
Contains common fields shared by HQ manifests.
Error object.
DELETE /api/v0/apps/k2k/{name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2026-01-01T00:00:00.000Z",
"generation": 1
},
"spec": {
"sourceKafkaLRN": "environments:kafka-connection/my-source-environment/plaintext",
"targetKafkaLRN": "environments:kafka-connection/my-target-environment/plaintext",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"replicas": 1,
"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,
"headerReplication": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true,
"keepRecordCreationTimestamp": true,
"errorHandling": {
"onCommitSyncTimeout": "fail",
"onControlMessageDeserializationError": "fail"
},
"tracingHeaders": {
"partition": true,
"offset": true,
"topic": true,
"pipeline": true
},
"coordination": {
"commit": {
"topic": "text",
"syncTimeoutSeconds": 1,
"batchSize": 1,
"batchTimeoutSeconds": 1
},
"assignment": {
"topic": "text",
"graceWindowSeconds": 1,
"fencingMaxParallelism": 1
}
},
"bidirectional": {
"enabled": true,
"mode": "cluster",
"headerName": "text"
}
},
"paused": true,
"configOverrides": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"status": {
"updatedAt": "2026-01-01T00:00:00.000Z",
"state": "deploying",
"statusLastTransitionAt": "2026-01-01T00:00:00.000Z",
"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",
"lastTermination": {
"message": "text",
"time": "2026-01-01T00:00:00.000Z"
}
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Updates an existing K2KApp.
The bearer token can be obtained by creating a ServiceAccount.
Contains common fields shared by HQ manifests.
Happy response.
Contains common fields shared by HQ manifests.
Error object.
PATCH /api/v0/apps/k2k/{name} HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 1426
"apiVersion: text
kind: text
metadata:
name: text
displayName: text
description: text
spec:
sourceKafkaLRN: environments:kafka-connection/my-source-environment/plaintext
targetKafkaLRN: environments:kafka-connection/my-target-environment/plaintext
topics:
- text
deploymentNamespaceLRN: kubernetes:namespace/my-environment/incluster/my-namespace
replicas: 1
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
headerReplication: true
autoCreateTopics: true
autoCreateControlTopics: true
keepRecordCreationTimestamp: true
errorHandling:
onCommitSyncTimeout: fail
onControlMessageDeserializationError: fail
tracingHeaders:
partition: true
offset: true
topic: true
pipeline: true
coordination:
commit:
topic: text
syncTimeoutSeconds: 1
batchSize: 1
batchTimeoutSeconds: 1
assignment:
topic: text
graceWindowSeconds: 1
fencingMaxParallelism: 1
bidirectional:
enabled: true
mode: cluster
headerName: text
paused: true
configOverrides:
ANY_ADDITIONAL_PROPERTY: anything
"{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2026-01-01T00:00:00.000Z",
"generation": 1
},
"spec": {
"sourceKafkaLRN": "environments:kafka-connection/my-source-environment/plaintext",
"targetKafkaLRN": "environments:kafka-connection/my-target-environment/plaintext",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"replicas": 1,
"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,
"headerReplication": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true,
"keepRecordCreationTimestamp": true,
"errorHandling": {
"onCommitSyncTimeout": "fail",
"onControlMessageDeserializationError": "fail"
},
"tracingHeaders": {
"partition": true,
"offset": true,
"topic": true,
"pipeline": true
},
"coordination": {
"commit": {
"topic": "text",
"syncTimeoutSeconds": 1,
"batchSize": 1,
"batchTimeoutSeconds": 1
},
"assignment": {
"topic": "text",
"graceWindowSeconds": 1,
"fencingMaxParallelism": 1
}
},
"bidirectional": {
"enabled": true,
"mode": "cluster",
"headerName": "text"
}
},
"paused": true,
"configOverrides": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"status": {
"updatedAt": "2026-01-01T00:00:00.000Z",
"state": "deploying",
"statusLastTransitionAt": "2026-01-01T00:00:00.000Z",
"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",
"lastTermination": {
"message": "text",
"time": "2026-01-01T00:00:00.000Z"
}
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Lists all K2KApps.
The bearer token can be obtained by creating a ServiceAccount.
Includes metrics summaries in the response, if available.
Happy response.
Contains K2KApps (Kafka-to-Kafka applications).
Error object.
GET /api/v0/apps/k2k HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"items": [
{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2026-01-01T00:00:00.000Z",
"generation": 1
},
"spec": {
"sourceKafkaLRN": "environments:kafka-connection/my-source-environment/plaintext",
"targetKafkaLRN": "environments:kafka-connection/my-target-environment/plaintext",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"replicas": 1,
"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,
"headerReplication": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true,
"keepRecordCreationTimestamp": true,
"errorHandling": {
"onCommitSyncTimeout": "fail",
"onControlMessageDeserializationError": "fail"
},
"tracingHeaders": {
"partition": true,
"offset": true,
"topic": true,
"pipeline": true
},
"coordination": {
"commit": {
"topic": "text",
"syncTimeoutSeconds": 1,
"batchSize": 1,
"batchTimeoutSeconds": 1
},
"assignment": {
"topic": "text",
"graceWindowSeconds": 1,
"fencingMaxParallelism": 1
}
},
"bidirectional": {
"enabled": true,
"mode": "cluster",
"headerName": "text"
}
},
"paused": true,
"configOverrides": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"status": {
"updatedAt": "2026-01-01T00:00:00.000Z",
"state": "deploying",
"statusLastTransitionAt": "2026-01-01T00:00:00.000Z",
"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",
"lastTermination": {
"message": "text",
"time": "2026-01-01T00:00:00.000Z"
}
}
]
},
"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": "2026-01-01T00:00:00.000Z",
"error_message": "text"
}
}
]
}Creates a new K2KApp.
The bearer token can be obtained by creating a ServiceAccount.
Contains common fields shared by HQ manifests.
Happy response.
Contains common fields shared by HQ manifests.
Error object.
POST /api/v0/apps/k2k HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/yaml
Accept: */*
Content-Length: 1426
"apiVersion: text
kind: text
metadata:
name: text
displayName: text
description: text
spec:
sourceKafkaLRN: environments:kafka-connection/my-source-environment/plaintext
targetKafkaLRN: environments:kafka-connection/my-target-environment/plaintext
topics:
- text
deploymentNamespaceLRN: kubernetes:namespace/my-environment/incluster/my-namespace
replicas: 1
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
headerReplication: true
autoCreateTopics: true
autoCreateControlTopics: true
keepRecordCreationTimestamp: true
errorHandling:
onCommitSyncTimeout: fail
onControlMessageDeserializationError: fail
tracingHeaders:
partition: true
offset: true
topic: true
pipeline: true
coordination:
commit:
topic: text
syncTimeoutSeconds: 1
batchSize: 1
batchTimeoutSeconds: 1
assignment:
topic: text
graceWindowSeconds: 1
fencingMaxParallelism: 1
bidirectional:
enabled: true
mode: cluster
headerName: text
paused: true
configOverrides:
ANY_ADDITIONAL_PROPERTY: anything
"{
"apiVersion": "text",
"kind": "text",
"metadata": {
"name": "text",
"displayName": "text",
"description": "text",
"id": "text",
"lrn": "text",
"creationTimestamp": "2026-01-01T00:00:00.000Z",
"generation": 1
},
"spec": {
"sourceKafkaLRN": "environments:kafka-connection/my-source-environment/plaintext",
"targetKafkaLRN": "environments:kafka-connection/my-target-environment/plaintext",
"topics": [
"text"
],
"deploymentNamespaceLRN": "kubernetes:namespace/my-environment/incluster/my-namespace",
"replicas": 1,
"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,
"headerReplication": true,
"autoCreateTopics": true,
"autoCreateControlTopics": true,
"keepRecordCreationTimestamp": true,
"errorHandling": {
"onCommitSyncTimeout": "fail",
"onControlMessageDeserializationError": "fail"
},
"tracingHeaders": {
"partition": true,
"offset": true,
"topic": true,
"pipeline": true
},
"coordination": {
"commit": {
"topic": "text",
"syncTimeoutSeconds": 1,
"batchSize": 1,
"batchTimeoutSeconds": 1
},
"assignment": {
"topic": "text",
"graceWindowSeconds": 1,
"fencingMaxParallelism": 1
}
},
"bidirectional": {
"enabled": true,
"mode": "cluster",
"headerName": "text"
}
},
"paused": true,
"configOverrides": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
},
"status": {
"updatedAt": "2026-01-01T00:00:00.000Z",
"state": "deploying",
"statusLastTransitionAt": "2026-01-01T00:00:00.000Z",
"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",
"lastTermination": {
"message": "text",
"time": "2026-01-01T00:00:00.000Z"
}
}
]
},
"kafka": {
"consumerGroup": "text"
}
}
}Update the committed offsets for multiple topic partitions for a given K2K application.
The bearer token can be obtained by creating a ServiceAccount.
The unique name for the K2K application.
my-app-prodDefines the request body for updating K2K offsets, containing an array of topic-partition-offset tuples.
Offsets successfully updated.
my-app-prodError object.
PUT /api/v0/apps/k2k/{name}/position/offsets HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 77
{
"offsets": [
{
"topic_name": "user-login-events",
"partition": 0,
"offset": 12345
}
]
}{
"application_name": "my-app-prod",
"updated_partitions": [
{
"topic_name": "user-login-events",
"partition": 0,
"offset": 12345
}
]
}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.
The bearer token can be obtained by creating a ServiceAccount.
The unique name for the K2K application.
my-app-prodDefines the request body for updating K2K offsets based on a timestamp for multiple topics.
RFC3339 timestamp to seek offsets to.
2025-01-14T10:03:00ZList of Kafka topic names to update offsets for.
["user-login-events","orders","payments"]Offsets successfully updated.
my-app-prodError object.
PUT /api/v0/apps/k2k/{name}/position/timestamp HTTP/1.1
Host: api.example.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 87
{
"timestamp": "2025-01-14T10:03:00Z",
"topics": [
"user-login-events",
"orders",
"payments"
]
}{
"application_name": "my-app-prod",
"updated_partitions": [
{
"topic_name": "user-login-events",
"partition": 0,
"offset": 12345
}
]
}Provides Server-Sent Events (SSE) for K2KApp updates. TODO.
The bearer token can be obtained by creating a ServiceAccount.
Error object.
Implements the RFC7807 "Problem Details", see https://www.rfc-editor.org/rfc/rfc7807.
Enumerates possible error types.
Describes the problem in a human readable fashion.
Is a copy of the http status code.
Contains in case of an "unauthorised" type of error, the url of the SSO provider, if any.
Is set to the id of this request. Can be used to correlate backend logs.
GET /api/v1/apps/k2k/live/sse HTTP/1.1
Host: api.example.com
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",
"pointer": "text"
}
],
"sso_url": "text",
"request_id": "text"
}Last updated
Was this helpful?

