You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar Reddy (JIRA)" <ji...@apache.org> on 2016/09/06 06:27:21 UTC

[jira] [Commented] (KAFKA-4111) broker compress data of certain size instead on a produce request

    [ https://issues.apache.org/jira/browse/KAFKA-4111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15466584#comment-15466584 ] 

Manikumar Reddy commented on KAFKA-4111:
----------------------------------------

"compression.type" broker config property is applicable to all the messages. We don't have option to compress messages
 based on certain message size.  

We can use topic level config property to set "compression.type"  to a particular topic.
or  you can use multiple producers with different compression types.

> broker compress data of certain size instead on a produce request
> -----------------------------------------------------------------
>
>                 Key: KAFKA-4111
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4111
>             Project: Kafka
>          Issue Type: Improvement
>          Components: compression
>    Affects Versions: 0.10.0.1
>            Reporter: julien1987
>
> When "compression.type" is set on broker config, broker compress data on every produce request. But on our sences, produce requst is very many, and data of every request is not so much. So compression result is not good. Can Broker compress data of every certain size from many produce requests?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)