Create Topic
POST/kafka/v3/clusters/:cluster_id/topics
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. Note that
when dry-run mode is being used the response status would be 200 OK instead of 201 Created.
Request
Responses
- 200
- 201
- 400
- 401
- 403
- 429
- 5XX
The created topic.
The created topic.
Indicates a bad request error. It could be caused by an unexpected request body format or other forms of request validation failure.
Indicates a client authentication error. Kafka authentication failures will contain error code 40101 in the response body.
Indicates a client authorization error. Kafka authorization failures will contain error code 40301 in the response body.
Indicates that a rate limit threshold has been reached, and the client should retry again later.
A server-side problem that might not be addressable from the client side. Retriable Kafka errors will contain error code 50003 in the response body.