Jun Rao created KAFKA-1798: ------------------------------ Summary: 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 Fix For: 0.8.3
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)