Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

val LogRetentionDiskUsagePercentProp = "log.retention.disk.usage.percent"
val LogRetentionDiskUsagePercentDoc = "The maximum percentage of disk space allowed to be in use
  (per-disk). Deletes oldest segments (across all topics) to maintain this usage ceiling."

...

There are no known migration issues.

The feature is disabled by default. If enabled, it may supersede the following time-based log retention parameters (just like the existing size-based parameters):

...

The parameter is defined as "percentage of disk space in use", not "percentage of disk space in use by Kafka". The latter definition would be somewhat more expensive to compute each cycle. Perhaps more importantly, it would weaken the guarantee that the parameter is designed to provide - that the disks will never ever run out of free space.