[
https://issues.apache.org/jira/browse/KAFKA-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jun Rao updated KAFKA-1798:
---------------------------
Resolution: Fixed
Assignee: dokovan
Status: Resolved (was: Patch Available)
Thanks for the patch. +1 and committed to trunk.
> ConfigDef.parseType() should throw exception on invalid boolean value
> ---------------------------------------------------------------------
>
> Key: KAFKA-1798
> URL: https://issues.apache.org/jira/browse/KAFKA-1798
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 0.8.2
> Reporter: Jun Rao
> Assignee: dokovan
> Labels: newbie
> Fix For: 0.8.3
>
> Attachments: 0001-Changes.patch
>
>
> ConfigDef.parseType() currently uses Boolean.parseBoolean(trimmed) to parse
> boolean value from a String. However, it simply returns false for anything
> that's not "true". It would be better if we throw an exception if the input
> string is not either "true" or "false".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)