[
https://issues.apache.org/jira/browse/KAFKA-6041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17869548#comment-17869548
]
Ksolves India Limited commented on KAFKA-6041:
----------------------------------------------
[~Phoenix_Dad] I have tried to replicate this issue as per the mentioned
description. However, it works fine, and the mentioned configurations are
initialized correctly. The ticket was created in 2017 so they might have
already fixed this.
I think this ticket and associated PR
([#4050|https://github.com/apache/kafka/pull/4050]) can be marked as closed.
> "--producer.config" option doesn't work
> ---------------------------------------
>
> Key: KAFKA-6041
> URL: https://issues.apache.org/jira/browse/KAFKA-6041
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.11.0.0
> Reporter: Phoenix_Dad
> Priority: Minor
>
> The configured parameters in the config\producer.properties file will be
> overwritten by the parameter default values.
> For example:
> //modify the config\producer.properties file:
> bootstrap.servers=kafkahost:9092
> linger.ms=2000
> batch.size=1024
> //excute the bin\Kafka-console-producer.sh
> bin\Kafka-console-producer --topic test --producer.config
> config/producer.properties
> //while excuting the ConsoleProducer Class, the batch.size is set to 200,
> the linger.ms is set to 1000, the bootstrap.servers is set to localhost:9092.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)