You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2024/11/23 15:37:00 UTC
[jira] [Created] (KAFKA-18079) `consumer-config` does not work with console-share-consumer
Chia-Ping Tsai created KAFKA-18079:
--------------------------------------
Summary: `consumer-config` does not work with console-share-consumer
Key: KAFKA-18079
URL: https://issues.apache.org/jira/browse/KAFKA-18079
Project: Kafka
Issue Type: Bug
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
`new Properties(consumerPropsFromFile)`[0] does not honor the `consumerPropsFromFile` when it is viewed as a hash map. However, `KafkaShareConsumer` converts the properties to a map so the configured values are totally ignored.
[0] https://github.com/apache/kafka/blob/337e2e150657b504cd77a91afe8cc4d160c2124c/tools/src/main/java/org/apache/kafka/tools/consumer/ConsoleShareConsumerOptions.java#L185
[1] https://github.com/apache/kafka/blob/trunk/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java#L386
--
This message was sent by Atlassian Jira
(v8.20.10#820010)