hi Jack thanks for you to raise this mail. The priority of configs used by tool is indeed a issue, and it needs a KIP to follow our compatibility policy.
Fortunately, there is a new ticket having a WIP KIP [0][1] - and please feel free to leave your comments on the ticket and KIP [0] https://issues.apache.org/jira/browse/KAFKA-10043 [1] https://cwiki.apache.org/confluence/display/KAFKA/KIP-1137%3A+Standardize+Property+Loading+Priority Best, Chia-Ping On 2025/05/26 13:05:23 Jack Thomasson wrote: > in https://github.com/apache/kafka/pull/16492 i propose a simple change > to CLI kafka-console-producer that reorders value settings as follow: > > 1. default > 2. config file by --producer.config > 3. --producer-property > 4. required > > this fixes https://issues.apache.org/jira/browse/KAFKA-2526. values for > key.serializer and value.serializer in particular are honored whereas > previously they were overwritten due to incorrect order. > > > :{)} >