Download OpenAPI specification:Download
A managed Apache Kafka cluster is designed to be highly fault-tolerant and scalable, allowing large volumes of data to be ingested, stored, and processed in real-time. By distributing data across multiple brokers, Kafka achieves high throughput and low latency, making it suitable for applications requiring real-time data processing and analytics.
A Kafka cluster that stores data and serve client requests. Kafka clusters typically have multiple brokers to handle more data and provide high availability. Each broker is identified by a unique ID and manages partitions of different topics.
This tag groups all operations for clusters.
This endpoint enables retrieving all Clusters using pagination and optional filters.
filter.name | string (KafkaClusterName) [ 2 .. 63 ] characters ^[A-Za-z0-9][-A-Za-z0-9_.]*[A-Za-z0-9]$ Example: filter.name=my-kafka-cluster Only return Kafka clusters that contain the given name. Case insensitive. |
filter.state | string (State) Example: filter.state=AVAILABLE Only return Kafka clusters with a given state. |
{- "id": "ed17eb1f-ac43-5670-9e63-8be33c475449",
- "type": "collection",
- "href": "/clusters",
- "items": [
- {
- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "brokerAddresses": [
- "192.0.2.101:9093",
- "192.0.2.102:9093",
- "192.0.2.103:9093"
]
}, - "properties": {
- "name": "my-kafka-cluster",
- "version": "3.7.0",
- "size": "XS",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "brokerAddresses": [
- "192.0.2.101/24",
- "192.0.2.102/24",
- "192.0.2.103/24"
]
}
]
}
}
]
}
Creates a new Cluster.
The full Cluster needs to be provided to create the object. Optional data will be filled with defaults or left empty.
Cluster to create.
object Metadata | |
required | object (Cluster) A Kafka cluster that stores data and serve client requests. Kafka clusters typically have multiple brokers to handle more data and provide high availability. Each broker is identified by a unique ID and manages partitions of different topics. |
{- "metadata": { },
- "properties": {
- "name": "my-kafka-cluster",
- "version": "3.7.0",
- "size": "XS",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "brokerAddresses": [
- "192.0.2.101/24",
- "192.0.2.102/24",
- "192.0.2.103/24"
]
}
]
}
}
{- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "brokerAddresses": [
- "192.0.2.101:9093",
- "192.0.2.102:9093",
- "192.0.2.103:9093"
]
}, - "properties": {
- "name": "my-kafka-cluster",
- "version": "3.7.0",
- "size": "XS",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "brokerAddresses": [
- "192.0.2.101/24",
- "192.0.2.102/24",
- "192.0.2.103/24"
]
}
]
}
}
Returns the Cluster by ID.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
{- "id": "e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "type": "cluster",
- "href": "/clusters/e69b22a5-8fee-56b1-b6fb-4a07e4205ead",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "brokerAddresses": [
- "192.0.2.101:9093",
- "192.0.2.102:9093",
- "192.0.2.103:9093"
]
}, - "properties": {
- "name": "my-kafka-cluster",
- "version": "3.7.0",
- "size": "XS",
- "connections": [
- {
- "datacenterId": "5a029f4a-72e5-11ec-90d6-0242ac120003",
- "lanId": "2",
- "brokerAddresses": [
- "192.0.2.101/24",
- "192.0.2.102/24",
- "192.0.2.103/24"
]
}
]
}
}
Deletes the specified Cluster.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}
A topic is a category or feed name to which records are published. Topics are the way Kafka organizes messages. They act as logical channels for data streams. Topics are split into partitions, making them scalable and allowing parallelism.
This tag groups all operations for topics.
This endpoint enables retrieving all topics using pagination and optional filters.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the cluster. |
{- "id": "7c1fe82d-a1ea-55fc-a744-12fad4180eef",
- "type": "collection",
- "href": "/clusters/{clusterId}/topics",
- "items": [
- {
- "id": "ae085c4c-3626-5f1d-b4bc-cc53ae8267ce",
- "type": "topic",
- "href": "/clusters/{clusterId}/topics/ae085c4c-3626-5f1d-b4bc-cc53ae8267ce",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress."
}, - "properties": {
- "name": "my-kafka-cluster-topic",
- "replicationFactor": 3,
- "numberOfPartitions": 3,
- "logRetention": {
- "retentionTime": 604800000,
- "segmentBytes": 1073741824
}
}
}
]
}
Creates a new topic. The full topic needs to be provided to create the object. Optional data will be filled with defaults or left empty.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the cluster. |
Topic to create.
object Metadata | |
required | object (Topic) A topic is a category or feed name to which records are published. Topics are the way Kafka organizes messages. They act as logical channels for data streams. Topics are split into partitions, making them scalable and allowing parallelism. |
{- "metadata": { },
- "properties": {
- "name": "my-kafka-cluster-topic",
- "replicationFactor": 3,
- "numberOfPartitions": 3,
- "logRetention": {
- "retentionTime": 604800000,
- "segmentBytes": 1073741824
}
}
}
{- "id": "ae085c4c-3626-5f1d-b4bc-cc53ae8267ce",
- "type": "topic",
- "href": "/clusters/{clusterId}/topics/ae085c4c-3626-5f1d-b4bc-cc53ae8267ce",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress."
}, - "properties": {
- "name": "my-kafka-cluster-topic",
- "replicationFactor": 3,
- "numberOfPartitions": 3,
- "logRetention": {
- "retentionTime": 604800000,
- "segmentBytes": 1073741824
}
}
}
Returns the topic by ID.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the cluster. |
topicId required | string <uuid> Example: ae085c4c-3626-5f1d-b4bc-cc53ae8267ce The ID (UUID) of the topic. |
{- "id": "ae085c4c-3626-5f1d-b4bc-cc53ae8267ce",
- "type": "topic",
- "href": "/clusters/{clusterId}/topics/ae085c4c-3626-5f1d-b4bc-cc53ae8267ce",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress."
}, - "properties": {
- "name": "my-kafka-cluster-topic",
- "replicationFactor": 3,
- "numberOfPartitions": 3,
- "logRetention": {
- "retentionTime": 604800000,
- "segmentBytes": 1073741824
}
}
}
Deletes the specified topic.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the cluster. |
topicId required | string <uuid> Example: ae085c4c-3626-5f1d-b4bc-cc53ae8267ce The ID (UUID) of the topic. |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "err-1234",
- "message": "Error message example"
}
]
}
The user of the cluster. Access is managed by certificates. The certificates are retrieved by the access endpoint.
This tag groups all operations for users.
This endpoint enables retrieving all Users using pagination and optional filters.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the Cluster. |
{- "id": "434e0c83-031d-5f5a-be82-63ee54dda025",
- "type": "collection",
- "href": "/clusters/{clusterId}/users",
- "items": [
- {
- "id": "d11db12c-2625-5664-afd4-a3599731b5af",
- "type": "user",
- "href": "/clusters/{clusterId}/users/d11db12c-2625-5664-afd4-a3599731b5af",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress."
}, - "properties": {
- "name": "my-kafka-cluster-user"
}
}
]
}
Returns the user by ID containing its access certificates in the metadata.
clusterId required | string <uuid> Example: e69b22a5-8fee-56b1-b6fb-4a07e4205ead The ID (UUID) of the cluster. |
userId required | string <uuid> Example: d11db12c-2625-5664-afd4-a3599731b5af The ID (UUID) of the user. |
{- "id": "d11db12c-2625-5664-afd4-a3599731b5af",
- "type": "user",
- "href": "/clusters/{clusterId}/users/d11db12c-2625-5664-afd4-a3599731b5af",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "state": "AVAILABLE",
- "message": "In progress.",
- "certificateAuthority": "-----BEGIN CERTIFICATE ...",
- "privateKey": "-----BEGIN PRIVATE KEY ...",
- "certificate": "-----BEGIN CERTIFICATE ..."
}, - "properties": {
- "name": "my-kafka-cluster-user"
}
}