Log Cleanup Policies (Strategies) — Log Compaction And Retention
Kafka uses log.retention.check.interval.ms configuration property as the interval between regular log checks.
Log Compaction is a cleanup strategy in which…FIXME
Log compaction can be reconfigured dynamically at runtime.
By default there is only a time limit and no size limit.
Retention time is controlled by the cluster-wide log.retention.ms, log.retention.minutes or log.retention.hours configuration properties (from the highest to the lowest priority) or their per-topic retention.ms configuration property.
ALL logging level for kafka.log.Log logger to see messages related to log retention.