[ https://issues.apache.org/jira/browse/KAFKA-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468254#comment-13468254 ]
Joel Koshy commented on KAFKA-363: ---------------------------------- Thanks for making that change. ProducerConfig: There's a compilation error due to getString default being given an int. Also, the second call to getCompressionCodec should have the default as well (or some unit tests will fail). Looks good otherwise. > Replace numerical compression codes in config with something human readable > --------------------------------------------------------------------------- > > Key: KAFKA-363 > URL: https://issues.apache.org/jira/browse/KAFKA-363 > Project: Kafka > Issue Type: Bug > Components: config > Affects Versions: 0.8 > Reporter: Jay Kreps > Assignee: Jay Kreps > Priority: Minor > Labels: newbie > Attachments: KAFKA-363.patch > > > Currently we have compression codes like 1 or 2, which is pretty unintuitive. > What does 1 mean? > We should replace these with human-readable codes like "snappy", "gzip", or > "none" and change the documentation. We can continue to support the existing > integer codes in addition for backwards compatibility with existing > configurations. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira