Confluent
CCDAK · Question #74
If I supply the setting compression.type=snappy to my producer, what will happen? (select two)
The correct answer is C. The Consumers have to de-compress the data. Kafka transfers data with zero copy and no transformation. Any transformation (including compression) is the responsibility of clients.
Developing Kafka Producers
Question
If I supply the setting compression.type=snappy to my producer, what will happen? (select two)
Options
- AThe Kafka brokers have to de-compress the data
- BThe Kafka brokers have to compress the data
- CThe Consumers have to de-compress the data
- DThe Consumers have to compress the data
- EThe Producers have to compress the data
How the community answered
(45 responses)- A2% (1)
- B2% (1)
- C96% (43)
Explanation
Kafka transfers data with zero copy and no transformation. Any transformation (including compression) is the responsibility of clients.
Topics
#compression#snappy#producer compression#consumer decompression
Community Discussion
No community discussion yet for this question.