local.retention.ms — Kafka topic Configuration
The number of milliseconds to keep the local log segment before it gets deleted. Default value is -2, it represents retention.ms value is to be used
Description
The number of milliseconds to keep the local log segment before it gets deleted. Default value is -2, it represents retention.ms value is to be used. The effective value should always be less than or equal to retention.ms value.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| topic | 3.0 | -2 |
| topic | 3.6 | -2 |
| topic | 3.7 | -2 |
| topic | 3.8 | -2 |
| topic | 3.9 | -2 |
| topic | 4.0 | -2 |
| topic | 4.1 | -2 |
| topic | 4.2 | -2 |
| topic | 4.3 | -2 |
| topic | 4.4 | -2 |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.