GitHub user Kamal15 opened a pull request: https://github.com/apache/kafka/pull/2340
MINOR: ConfigDef `parseType` exception message updated. - When Kafka configurations are provided programmatically, for the below configuration incorrect error message gets printed. * configuration: kafkaProps.put("zookeeper.session.timeout.ms", 60_000L); - expects INTEGER value. * Error Msg: "Invalid value 60000 for configuration zookeeper.session.timeout.ms : Expected value to be an number." * Long is also a number which misleading the error message. - Minor code cleanup and unwanted local variables are removed. - Java doc dangling imports are updated. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Kamal15/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/2340.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2340 ---- ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---