Re: log compaction across partitions

2021-01-05 Thread Shaohan Yin
Hi, Normally the same keys will lead to the same partition. And log compaction works on a single topic-partition. Cheers On Wed, 6 Jan 2021 at 07:40, Jacob Botuck wrote: > If I somehow have 2 records with the same key in different partitions in a > topic with log compaction enabled, will log c

log compaction across partitions

2021-01-05 Thread Jacob Botuck
If I somehow have 2 records with the same key in different partitions in a topic with log compaction enabled, will log compaction remove the old record? Or do the records need to be in the same partition for log compaction to work?