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
Details
| Author | Tom Bentley |
| Status | Accepted |
| Kafka Version | 1.0 |
| JIRA | KAFKA-5856 |
| Wiki | View on Apache Wiki |
| Created | 2017-09-07 |
| Last Modified | 2017-09-19 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.