You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to confluent...@googlegroups.com
Hi,
retention.ms applies to topic swith clean up policy "delete" and sets
the retention time for those topics.
delete.retention.ms applies to topic with clean up policy "compact" and
is used for tombstone messages only. Tombstone messages have the format
<key:null> and indicate that a record with this key can be removed
completely (ie, delete semantics). This includes the removal of the
tombstone itself, too.
Instead of an immediate removal, `delete.retention.ms` is used to delay
the tombstone removal to retain the tombstone somewhat longer. The
motivation is that some consumers may already have consumed the old
record but not yet the tombstone. If log compaction happens and
tombstone gets deleted, the consumer might miss the tombstone. The
delayed removal helps to avoid this issue.