Currently, the only way to send compressed data to Kafka is by enabling compression on the producer side. To move compression to server side, we have https://issues.apache.org/jira/browse/KAFKA-595 filed
Thanks, Neha On Fri, Nov 8, 2013 at 8:23 AM, arathi maddula <[email protected]>wrote: > Hi, > > We have a cluster of Kafka servers. We want data of all topics on these > servers to be compressed, Is there some configuration to achieve this? > I was able to compress code by using compression.codec property in > ProducerConfig in Kafka Producer. > But I wanted to know if there is a way of enabling topic compression > without modifying anything in ProducerConfig properties.That is, can I add > compression.codec=snappy in server.properties and have all topics' data > compressed. Is there anything I can do during topic creation wrt > compression? > > > Thanks > Arathi >
