You can create a new Kafka cluster with specified configurations.
Note:
Only contract administrators, owners, and users with Access and manage Event Streams for Apache Kafka privileges can create and manage Kafka clusters.
After creating the cluster, you can use it via the corresponding LAN and certificates.
The data center must be provided as an UUID
. The easiest way to retrieve the UUID
is through the Cloud API.
POST /clusters
The POST /clusters
endpoint allows you to create a new Kafka cluster with specified properties. The name, version, size, and connection fields are required. The response includes the newly created cluster's ID, metadata, and properties, along with its current state and broker addresses.
Use this endpoint to provision a Kafka cluster tailored to your application's requirements, ensuring seamless integration and efficient data management.
To make authenticated requests to the API, the following fields are mandatory in the request header:
Content-Type
yes
string
Set this to application/json
.
Accept
yes
string
Set this to application/json
.
Authorization
yes
string
Provide a header value as Bearer
followed by your token
.
Below is the list of mandatory body parameters:
name
string
The name of the Kafka cluster.
my-kafka-cluster
version
string
The version of Kafka to use for the cluster.
3.7.0
size
string
The size of the Kafka cluster.
S
datacenterId
string
The UUID of the data center where the cluster will be created.
5a029f4a-72e5-11ec-90d6-0242ac120003
lanId
string
The LAN ID where the cluster will be connected.
2
brokerAddresses
array
List of broker addresses for the cluster.
["192.168.1.101/24","192.168.1.102/24","192.168.1.103/24"]
200 Successful operation