Skip to contentManaged Kafka is live: Apache Kafka on AWS for half the cost of MSK

Kafka clusters

Increase Kafka topic partitions

POST/kafka-clusters/{uuid}/topics/{topic}/partitions

Increases 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

  • Authorizationstringheaderrequired

    API 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

  • topicstringrequired
  • uuidstringrequired

Body

application/json

  • currentPartitionCountintegerrequired
  • newPartitionCountintegerrequired

Responses

204No Content

400Bad Request

404Not Found

409Conflict

500Internal Server Error

502Bad Gateway

Was this page helpful?