[ https://issues.apache.org/jira/browse/KAFKA-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Arthur updated KAFKA-363: ------------------------------- Status: Patch Available (was: Open) Here's a go at a simple fix for this. I added a "name" attribute to the CompressionCodec case objects and added getCompressionCodec(String). > 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