Topics
Create Kafka Topic
This endpoint creates a new kafka topic in a cluster.
POST
Request Parameters
string
required
Name of the new kafka topic
int
required
The number of partitions the topic will have
int
required
Retention time of messsages in the topic
-1 for highest possible valueint
required
Retention size of the messages in the topic
-1 for highest possible valueint
required
Max message size in the topic
-1 for highest possible valuestring
required
Cleanup policy will be used in the topic
compact or deletestring
required
ID of the cluster the topic will be deployed in
Response Parameters
string
ID of the new kafka topic
string
Name of the new kafka topic
string
ID of the created Kafka cluster
string
Name of the Kafka cluster
string
The region the Kafka cluster is deployed in
string
Shows whether the cluster is free or paid
boolean
Whether the multizone replication is enabled for the cluster or not
string
TCP endpoint to connect to the Kafka cluster
string
REST endpoint to connect to the Kafka cluster
string
Current state of the cluster(active, deleted)
string
Username to be used in authenticating to the cluster
string
Password to be used in authenticating to the cluster
int
Max retention size will be allowed to topics in the cluster
int
Max retention time will be allowed to topics in the cluster
int
Max messages allowed to be produced per second
int
Cluster creation timestamp
int
Max message size will be allowed in topics in the cluster
int
Max total number of partitions allowed in the cluster