Kafka log compaction: tombstones, delete.retention.ms and keys that never disappear
Compacted topics keep the latest value per key, which makes them ideal for state. They also surprise people: deleted keys come back, old values linger, and topics grow forever. How compaction really works and the settings that control it.