conduktor.io ↗

partitioner.ignore.keys — Kafka Producer Configuration

When set to 'true' the producer won't use record keys to choose a partition. If 'false', producer would choose a partition based on a hash of the key when a key is present

Description

When set to 'true' the producer won't use record keys to choose a partition. If 'false', producer would choose a partition based on a hash of the key when a key is present. Note: this setting has no effect if a custom partitioner is used.

Default Values by Kafka Version

ComponentKafka version lineDocumented default
Producer3.3false
Producer3.4false
Producer3.5false
Producer3.6false
Producer3.7false
Producer3.8false
Producer3.9false
Producer4.0false
Producer4.1false
Producer4.2false
Producer4.3false
Producer4.4false

Tuning Recommendation

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

ProfileProposalRationale and tradeoff
producer / throughputfalseKeeping false preserves key-based partition selection with the built-in partitioner.

Tradeoff: Setting true makes the built-in partitioner ignore keys when selecting partitions and can invalidate application key locality assumptions.

Reference · 2026-10-27

Related Configs

partitioner.adaptive.partitioning.enable · partitioner.class

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