InfraMaxx

Kafka, RabbitMQ & Queues

Retention and compaction

Intermediate · 4 min read · quiz included

Delete retention removes old segments by time or size, while compaction keeps the latest record for each key. A state topic needs compaction if old keys must survive.

What you will be able to do

What is in the lesson

Read this lessonFree. No account needed.

More in Kafka, RabbitMQ & Queues

All 40 Kafka, RabbitMQ & Queues lessons