Skip to main content
POST
/
kafka-clusters
Create Kafka cluster
curl --request POST \
  --url https://api.example.com/kafka-clusters \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "properties": {}
}
'
{
  "created_at": "<string>",
  "name": "<string>",
  "properties": {},
  "info": [
    {
      "message": "<string>",
      "code": "<string>"
    }
  ]
}

Body

application/json

Create Kafka cluster request

name
string<hostname>
required

Cluster Name

Name for the Kafka cluster, used to identify this Kafka cluster configuration in subscriptions. Must be a valid hostname format.

properties
object
required

Properties

Kafka cluster configuration properties. Must contain either 'bootstrap.servers' or 'metadata.broker.list'.

For a full list of configuration properties, check the librdkafka documentation.

Response

Kafka cluster created successfully

Kafka cluster simple response.

created_at
string
required

Created at

When the Kafka cluster configuration was created.

name
string<hostname>
required

Cluster Name

Name for the Kafka cluster, used to identify this Kafka cluster configuration in subscriptions. Must be a valid hostname format.

properties
object
required

Properties

Properties for connecting to the kafka cluster.

For a full list of configuration properties, check the librdkafka documentation.

info
object[]

Info

List of configuration/deprecation information related to this deployment.