[ https://issues.apache.org/jira/browse/KAFKA-1667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jun Rao updated KAFKA-1667: --------------------------- Resolution: Fixed Fix Version/s: 0.8.3 Assignee: Dmytro Kostiuchenko Status: Resolved (was: Patch Available) Thanks for the patch. +1 and committed to trunk. Also filed KAFKA-1798 for validating the string input for the boolean config type. > topic-level configuration not validated > ---------------------------------------- > > Key: KAFKA-1667 > URL: https://issues.apache.org/jira/browse/KAFKA-1667 > Project: Kafka > Issue Type: Bug > Affects Versions: 0.8.1.1 > Reporter: Ryan Berdeen > Assignee: Dmytro Kostiuchenko > Labels: newbie > Fix For: 0.8.3 > > Attachments: KAFKA-1667_2014-11-05_19:43:53.patch, > KAFKA-1667_2014-11-06_17:10:14.patch, KAFKA-1667_2014-11-07_14:28:14.patch, > KAFKA-1667_2014-11-12_12:49:11.patch, KAFKA-1667_2014-11-16_18:31:34.patch, > KAFKA-1667_2014-11-16_18:33:10.patch, KAFKA-1667_2014-11-25_12:03:56.patch > > > I was able to set the configuration for a topic to these invalid values: > {code} > Topic:topic-config-test PartitionCount:1 ReplicationFactor:2 > Configs:min.cleanable.dirty.ratio=-30.2,segment.bytes=-1,retention.ms=-12,cleanup.policy=lol > {code} > It seems that the values are saved as long as they are the correct type, but > are not validated like the corresponding broker-level properties. -- This message was sent by Atlassian JIRA (v6.3.4#6332)