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.
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
| Kafka Version | Default Value |
|---|---|
| 3.0 | -2 |
| 3.6 | -2 |
| 3.7 | -2 |
| 3.8 | -2 |
| 3.9 | -2 |
| 4.0 | -2 |
| 4.1 | -2 |
| 4.2 | -2 |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.