Confluent
CCDAK · Question #138
Compaction is enabled for a topic in Kafka by setting log.cleanup.policy=compact. What is true about log compaction?
Sign in or unlock CCDAK to reveal the answer and full explanation for question #138. The question stem and answer options stay visible for context.
Application Design
Question
Compaction is enabled for a topic in Kafka by setting log.cleanup.policy=compact. What is true about log compaction?
Options
- AAfter cleanup, only one message per key is retained with the first value
- BEach message stored in the topic is compressed
- CKafka automatically de-duplicates incoming messages based on key hashes
- DAfter cleanup, only one message per key is retained with the latest value Compaction changes
Unlock CCDAK to see the answer
You've previewed enough free CCDAK questions. Unlock CCDAK for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#log compaction#cleanup.policy=compact#message retention#key-based compaction