[ https://issues.apache.org/jira/browse/KAFKA-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084047#comment-14084047 ]
Manikumar Reddy commented on KAFKA-1374: ---------------------------------------- In this patch, LogCleaner decompress the compressed messages and writes back the retained messages in compressed form. I tested the following scenarios 1. Topic with non-compressed messages 2. Topic with compressed messages 3. Topic with both compressed and non-compressed messages. > LogCleaner (compaction) does not support compressed topics > ---------------------------------------------------------- > > Key: KAFKA-1374 > URL: https://issues.apache.org/jira/browse/KAFKA-1374 > Project: Kafka > Issue Type: Bug > Reporter: Joel Koshy > Assignee: Manikumar Reddy > Labels: newbie++ > Fix For: 0.8.2 > > Attachments: KAFKA-1374.patch > > > This is a known issue, but opening a ticket to track. > If you try to compact a topic that has compressed messages you will run into > various exceptions - typically because during iteration we advance the > position based on the decompressed size of the message. I have a bunch of > stack traces, but it should be straightforward to reproduce. -- This message was sent by Atlassian JIRA (v6.2#6252)