[ https://issues.apache.org/jira/browse/KAFKA-1798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
dokovan updated KAFKA-1798: --------------------------- Attachment: 0001-Changes.patch > 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 > 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)