KIP-464 — Defaults for AdminClient#createTopic
Accepted Kafka 2.4 Admin
KIP-464 makes `AdminClient.createTopics()` respect the broker-side defaults `num.partitions` and `default.replication.factor` when `NewTopic` is constructed with `-1` for those fields, matching the behavior of auto-creation. Before this change, callers had to explicitly specify partition count and replication factor, or duplicate the broker's default values client-side.
Protocol Impact
CreateTopics v4
Details
| Author | Almog Gavra |
| Status | Accepted |
| Kafka Version | 2.4 |
| JIRA | KAFKA-8305 |
| Wiki | View on Apache Wiki |
| Created | 2019-04-29 |
| Last Modified | 2021-04-14 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.