segment.index.bytes — Kafka topic Configuration
This configuration controls the size of the index that maps offsets to file positions. We preallocate this index file and shrink it only after log rolls
Description
This configuration controls the size of the index that maps offsets to file positions. We preallocate this index file and shrink it only after log rolls. You generally should not need to change this setting.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| topic | 0.11.0 | 10485760 |
| topic | 1.0 | 10485760 |
| topic | 1.1 | 10485760 |
| topic | 2.0 | 10485760 |
| topic | 2.1 | 10485760 |
| topic | 2.2 | 10485760 |
| topic | 2.3 | 10485760 |
| topic | 2.4 | 10485760 |
| topic | 2.5 | 10485760 |
| topic | 2.6 | 10485760 (10 mebibytes) |
| topic | 2.7 | 10485760 (10 mebibytes) |
| topic | 2.8 | 10485760 (10 mebibytes) |
| topic | 3.0 | 10485760 (10 mebibytes) |
| topic | 3.1 | 10485760 (10 mebibytes) |
| topic | 3.2 | 10485760 (10 mebibytes) |
| topic | 3.3 | 10485760 (10 mebibytes) |
| topic | 3.4 | 10485760 (10 mebibytes) |
| topic | 3.5 | 10485760 (10 mebibytes) |
| topic | 3.6 | 10485760 (10 mebibytes) |
| topic | 3.7 | 10485760 (10 mebibytes) |
| topic | 3.8 | 10485760 (10 mebibytes) |
| topic | 3.9 | 10485760 (10 mebibytes) |
| topic | 4.0 | 10485760 (10 mebibytes) |
| topic | 4.1 | 10485760 (10 mebibytes) |
| topic | 4.2 | 10485760 (10 mebibytes) |
| topic | 4.3 | 10485760 (10 mebibytes) |
| topic | 4.4 | 10485760 (10 mebibytes) |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.