v1

latestOpenAPI 3.0.02026-07-175064171.4 KB
Topic (v3)

Create Topic

Generally Available

Create a topic. Also supports a dry-run mode that only validates whether the topic creation would succeed if the validate_only request property is explicitly specified and set to true.

post/clusters/{cluster_id}/topics

Request body

topic_namestring required
partitions_countinteger
replication_factorinteger
replicas_assignmentsobject
validate_onlyboolean

Response

The created topic.

kindstring required
cluster_idstring required
topic_namestring required
is_internalboolean required
replication_factorinteger required
partitions_countinteger required
authorized_operationsstring[]