conduktor.io ↗

KIP-195 — AdminClient.createPartitions

Accepted Kafka 1.0 Admin

Adds `AdminClient.createPartitions()` (backed by new `CreatePartitionsRequest`/`CreatePartitionsResponse` protocol APIs) to programmatically increase the partition count of existing topics. The only existing mechanism to increase partition count is the `kafka-topics.sh --alter` shell script, which communicates directly with ZooKeeper; a proper network API is needed to decouple topic management from ZooKeeper access.

Protocol Impact

CreatePartitions

Details

AuthorTom Bentley
StatusAccepted
Kafka Version1.0
JIRAKAFKA-5856
WikiView on Apache Wiki
Created2017-09-07
Last Modified2017-09-19
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.