Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
Log retention settings can be set it in broker and some properties can be overriden at topic level.
Property | Default | Server Default property | Description |
retention.ms | 7 days | log.retention.minutes | This configuration controls the maximum time we will retain a log before we will discard old log segments to free up space if we are using the "delete" retention policy. This represents an SLA on how soon consumers must read their data. |
But retention.ms is in milli seconds not in minutes. So corresponding Server Default property should be log.retention.ms instead of log.retention.minutes.
It would be better if we mention the if the time age is in millis/minutes/hours in the documentation page and documenting in code as well (Right now, it is saying age in the code. We should specify the *age in time granularity).
Attachments
Issue Links
- links to