I've enabled kafka message compression from client's producer API like :
configProperties.put(ProducerConfig.COMPRESSION_TYPE_CONFIG, "gzip")
It works well, however if we want to limit the above compression to some listed topics, we've notice a way :
configProperties.put("compressed.topics", "topicA,topicB")
from this link : https://cwiki.apache.org/confluence/display/KAFKA/Compression . But it is not working, means in my test case I've enabled compression and I didn't listed my topic in compressed.topics's args. still the compression been applied. please help.
compression.codeaccording to that wiki page, but I would first check the official configurations on the Kafka website since that wiki page seems to be dated back to Kafka 0.7 release - OneCricketeer