Let's say we have a compacted topic (log.cleanup.policy=compact) where lot
of updates happen for relatively small set of keys.
My question is when does the compaction happen.

In memtable , when a new update comes for an already existing key in
memtable , the value is simple replaced.
or,
all the updates are associated with a offset , later the memtable is
spilled to disk and the deletion happens during compaction phase.

thanks,
Rahul

Reply via email to