I am a newbie in Kafka
.When using kafka 0.9.0, I can set a codec by setting the compression.type
property of my kafka producer.
Suppose I use snappy
compression in my producer, when consuming the messages from kafka using some kafka-consumer, should I do something to decode the data from snappy or is it some built-in feature of kafka consumer?
In the office doc, I could not find any property that relates to encoding in kafka consumer (it only relates to the producer).
Can someone clear this?