conduktor.io ↗

log.retention.{minutes,hours} — Kafka Broker Configuration

The amount of time to keep a log segment before it is deleted, i.e.

Description

The amount of time to keep a log segment before it is deleted, i.e. the default data retention window for all topics. Note that if both log.retention.minutes and log.retention.bytes are both set we delete a segment when either limit is exceeded. This setting can be overridden on a per-topic basis (see the per-topic configuration section).

Default Values by Kafka Version

Kafka VersionDefault Value
0.8.17 days
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.