conduktor.io ↗

num.partitions — Kafka Broker Configuration

The default number of log partitions per topic. This configuration affects the following paths:1

Description

The default number of log partitions per topic. This configuration affects the following paths:1. Auto topic creation2. Internal streams topic creation3. Topic creation via AdminClient#createTopics when the number of partition is set to -1For (1), the value from the broker configuration is used only when it is explicitly set. If it is not explicitly configured on the broker, the value from the controller configuration is used.For (2) and (3), the value from the controller configuration is always used.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Broker0.71
Broker0.8.01
Broker0.8.11
Broker0.8.21
Broker0.9.01
Broker0.10.01
Broker0.10.11
Broker0.10.21
Broker0.11.01
Broker1.01
Broker1.11
Broker2.01
Broker2.11
Broker2.21
Broker2.31
Broker2.41
Broker2.51
Broker2.61
Broker2.71
Broker2.81
Broker3.01
Broker3.11
Broker3.21
Broker3.31
Broker3.41
Broker3.51
Broker3.61
Broker3.71
Broker3.81
Broker3.91
Broker4.01
Broker4.11
Broker4.21
Broker4.31
Broker4.41

Tuning Recommendation

Workload-dependent proposals, not benchmarked defaults. Review the versioned Config Advisor before applying.

ProfileProposalRationale and tradeoff
broker / throughput12Sets the default partition count for automatic topic creation where applicable. Existing topics are not repartitioned by this setting.

Tradeoff: More partitions add broker metadata, replication and consumer overhead. The right count depends on workload and ordering requirements.

Reference · 2026-10-27
broker / cost1Sets the default partition count for automatic topic creation where applicable. Existing topics are not repartitioned by this setting.

Tradeoff: More partitions add broker metadata, replication and consumer overhead. The right count depends on workload and ordering requirements.

Reference · 2026-10-27

Related Configs

default.replication.factor · auto.create.topics.enable · log.retention.bytes · log.segment.bytes

Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.