Q. Kafka compaction is used to:

  • (A) Compress message size
  • (B) Remove duplicate keys and retain the latest record
  • (C) Distribute partitions evenly
  • (D) Backup all data
πŸ’¬ Discuss
βœ… Correct Answer: (B) Remove duplicate keys and retain the latest record
Explanation: Log compaction ensures the latest value for each key is retained in the topic.
Explanation by: Mr. Dubey
Log compaction ensures the latest value for each key is retained in the topic.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
83
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
88%
Success Rate