Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
This is to confirm the behaviour of retention.ms.
According to the kafka doc, a log segment is kept undeleted until the Largest timestamp of the offsets in that segment.
Initially, we thought that the Largest timestamp is considered from the created time of the record. But, it is considered from the timestamp of the ProducerRecord, which can be entered manually.
We suspect if this is intentional, as the log segment can be undeleted forever if the timestamp of a far future time is given.
Please clarify.