index.interval.bytes — Kafka topic Configuration
This setting controls how frequently Kafka adds entries to its offset index and, conditionally, to its time index. The default setting ensures that we index a message roughly every 4096 bytes
Description
This setting controls how frequently Kafka adds entries to its offset index and, conditionally, to its time index. The default setting ensures that we index a message roughly every 4096 bytes. More frequent indexing allows reads to jump closer to the exact position in the log but results in larger index files. You probably don't need to change this.Note: the time index will be inserted only when the timestamp is greater than the last indexed timestamp.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| topic | 0.11.0 | 4096 |
| topic | 1.0 | 4096 |
| topic | 1.1 | 4096 |
| topic | 2.0 | 4096 |
| topic | 2.1 | 4096 |
| topic | 2.2 | 4096 |
| topic | 2.3 | 4096 |
| topic | 2.4 | 4096 |
| topic | 2.5 | 4096 |
| topic | 2.6 | 4096 (4 kibibytes) |
| topic | 2.7 | 4096 (4 kibibytes) |
| topic | 2.8 | 4096 (4 kibibytes) |
| topic | 3.0 | 4096 (4 kibibytes) |
| topic | 3.1 | 4096 (4 kibibytes) |
| topic | 3.2 | 4096 (4 kibibytes) |
| topic | 3.3 | 4096 (4 kibibytes) |
| topic | 3.4 | 4096 (4 kibibytes) |
| topic | 3.5 | 4096 (4 kibibytes) |
| topic | 3.6 | 4096 (4 kibibytes) |
| topic | 3.7 | 4096 (4 kibibytes) |
| topic | 3.8 | 4096 (4 kibibytes) |
| topic | 3.9 | 4096 (4 kibibytes) |
| topic | 4.0 | 4096 (4 kibibytes) |
| topic | 4.1 | 4096 (4 kibibytes) |
| topic | 4.2 | 4096 (4 kibibytes) |
| topic | 4.3 | 4096 (4 kibibytes) |
| topic | 4.4 | 4096 (4 kibibytes) |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.