Kafka clusters
Increase Kafka topic partitions
POST
/kafka-clusters/{uuid}/topics/{topic}/partitionsIncreases a topic's partition count. Not allowed on Artie-managed topics (anything under <companyUUID>. outside the customer namespace, or Kafka-internal __ topics), because adding partitions breaks per-key ordering for Artie pipelines. On a Managed Kafka cluster any topic but the cluster's own (__ and strimzi.cruisecontrol.*) can grow, 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/{topic}/partitions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currentPartitionCount": 123,
"newPartitionCount": 123
}'Path parameters
topicstringrequireduuidstringrequired
Body
application/json
currentPartitionCountintegerrequirednewPartitionCountintegerrequired
Responses
204No Content
400Bad Request
404Not Found
409Conflict
500Internal Server Error
502Bad Gateway
Was this page helpful?
- Need help? Message us on Slack or email [email protected].
- Want a walkthrough? Book a demo.
- LLM? Read llms.txt.