FrankYang0529 opened a new pull request, #17925: URL: https://github.com/apache/kafka/pull/17925
The `new Properties(consumerPropsFromFile)`[0] does not honor the `consumerPropsFromFile` when it is viewed as a hash map. The `KafkaShareConsumer`[1] 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/337e2e150657b504cd77a91afe8cc4d160c2124c/clients/src/main/java/org/apache/kafka/clients/consumer/KafkaShareConsumer.java#L386 ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
