Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 485789D56 for ; Sun, 6 Nov 2011 06:57:13 +0000 (UTC) Received: (qmail 1597 invoked by uid 500); 6 Nov 2011 06:57:12 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 1563 invoked by uid 500); 6 Nov 2011 06:57:12 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 1554 invoked by uid 99); 6 Nov 2011 06:57:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 06:57:12 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Nov 2011 06:57:11 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 947AB349E1 for ; Sun, 6 Nov 2011 06:56:51 +0000 (UTC) Date: Sun, 6 Nov 2011 06:56:51 +0000 (UTC) From: "Neha Narkhede (Commented) (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <541153318.4370.1320562611609.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1621367294.3291.1320516291765.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (KAFKA-187) Add Snappy Compression as a Codec MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144946#comment-13144946 ] Neha Narkhede commented on KAFKA-187: ------------------------------------- 1. There is quite a lot of overlap in the code for the GZIP and Snappy codec in CompressionUtils. Wonder if you were up for refactoring it so that they use the same code path ? 2. One thing to think about is whether Snappy should be a compile and run time dependency in the core kafka project. Especially since, GZIP will be default and Snappy will only be used if it is explicitly configured. I wonder if there is any way of defining optional run time dependencies ? 3. I think we will have to wait for the unit test to get fixed before accepting this patch. Have you tried running the system and performance tests yet ? > Add Snappy Compression as a Codec > --------------------------------- > > Key: KAFKA-187 > URL: https://issues.apache.org/jira/browse/KAFKA-187 > Project: Kafka > Issue Type: Improvement > Reporter: Joe Stein > Attachments: kafka-187.patch > > > My thoughts are a new trait CompressionDependencies for KafkaProject.scala, adding snappy as the first library -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira