Kafka clusters
Create a Kafka topic
POST
/kafka-clusters/{uuid}/topicsCreates a topic. On a shared cluster the name must start with <companyUUID>.customer., the namespace customer Kafka users can produce to. On a Managed Kafka cluster any name works except the cluster's own topics (Kafka's __ topics and Cruise Control's strimzi.cruisecontrol.*), and the cluster must be active (409 otherwise).
Authorizations
AuthorizationstringheaderrequiredAPI key passed as a Bearer token in the Authorization header.
Request
curl --request POST \
--url https://api.artie.com/kafka-clusters/{uuid}/topics \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"configEntries": {
"key": "<string>"
},
"partitionCount": 123,
"replicationFactor": 123,
"topic": "<string>"
}'Path parameters
uuidstringrequired
Body
application/json
configEntriesRecord<string, string> | nullpartitionCountintegerrequiredreplicationFactorintegerrequiredtopicstringrequired
Responses
200OKapplication/json
topicstringrequired
400Bad Request
404Not Found
409Conflict
500Internal Server Error
502Bad Gateway
200 OK
{
"topic": "<string>"
}Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.