Q. Kafka's topic cleanup policy 'compact' does what?

  • (A) Deletes all messages older than a set time
  • (B) Keeps only the latest value for each key
  • (C) Backs up all partitions
  • (D) Encrypts old data
πŸ’¬ Discuss
βœ… Correct Answer: (B) Keeps only the latest value for each key
Explanation: Log compaction retains the last message for each unique key.
Explanation by: Mr. Dubey
Log compaction retains the last message for each unique key.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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