GitHub user Kamal15 opened a pull request:
https://github.com/apache/kafka/pull/2345
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 misleads the error message.
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/2345.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 #2345
----
commit a9516153928eb932708d596380aa38e12b2a7298
Author: Kamal C <[email protected]>
Date: 2017-01-11T17:09:59Z
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 misleads the error message.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---