title: Kafka compression, how to limit it to some listed topics? How to use compressed.topics property using clients produce API?
body: <p>I've enabled kafka message compression from client's producer API like :</p>
  
  <p>configProperties.put(ProducerConfig.COMPRESSION_TYPE_CONFIG, "gzip") </p>
  
  <p>It works well, however if we want to limit the above compression to some listed topics, we've notice a way : </p>
  
  <p>configProperties.put("compressed.topics", "topicA,topicB") </p>
  
  <p>from this link :
  <a href="https://cwiki.apache.org/confluence/display/KAFKA/Compression" rel="nofollow noreferrer">https://cwiki.apache.org/confluence/display/KAFKA/Compression</a> .
  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.</p>