conduktor.io ↗

KIP-1231 — Deprecate '--max-partition-memory-bytes' option in ConsoleProducer

Accepted Kafka 4.2 Producer

Deprecates the --max-partition-memory-bytes CLI argument in kafka-console-producer.sh with a warning message, directing users to --batch-size which maps to the same underlying batch.size producer config. Having two options that configure the same property with different names created confusion, and --max-partition-memory-bytes is a misleading name that implies a per-partition memory limit rather than a batch size.

Details

AuthorMing-Yen Chung
StatusAccepted
Kafka Version4.2
JIRAKAFKA-12392
WikiView on Apache Wiki
Created2025-10-17
Last Modified2025-11-05
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.