Kafka - Topics and PartitionsWhich Kafka retention policy setting limits the total size of data retained per partition?Aretention.msBcleanup.policyCsegment.bytesDretention.bytesCheck Answer
Step-by-Step SolutionSolution:Step 1: Identify size-based retention settingThe retention.bytes setting limits the total size of data retained per partition.Step 2: Differentiate from other settingsretention.ms controls time, segment.bytes controls segment file size, cleanup.policy controls deletion or compaction.Final Answer:retention.bytes -> Option DQuick Check:Size-based retention = retention.bytes [OK]Quick Trick: Size-based retention uses retention.bytes [OK]Common Mistakes:Confusing retention.ms with size limitMixing segment.bytes with retention.bytesAssuming cleanup.policy limits size
Master "Topics and Partitions" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Consumers - Auto-commit vs manual commit - Quiz 7medium Kafka Basics and Event Streaming - Kafka installation and setup - Quiz 8hard Kafka Cluster Architecture - Controller broker - Quiz 7medium Producers - Producer retries and idempotency - Quiz 10hard Producers - Acknowledgment modes (acks=0, 1, all) - Quiz 2easy Producers - Producer retries and idempotency - Quiz 11easy Topics and Partitions - Topic creation - Quiz 5medium Topics and Partitions - Topic deletion and cleanup - Quiz 7medium Topics and Partitions - Partition ordering guarantees - Quiz 3easy Topics and Partitions - Topic deletion and cleanup - Quiz 10hard