segment.bytes — Kafka topic Configuration
This configuration controls the segment file size for the log. Retention and cleaning is always done a file at a time so a larger segment size means fewer files but less granular control over retention
Description
This configuration controls the segment file size for the log. Retention and cleaning is always done a file at a time so a larger segment size means fewer files but less granular control over retention. The active segment is rolled once it reaches this size.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| topic | 0.11.0 | 1073741824 |
| topic | 1.0 | 1073741824 |
| topic | 1.1 | 1073741824 |
| topic | 2.0 | 1073741824 |
| topic | 2.1 | 1073741824 |
| topic | 2.2 | 1073741824 |
| topic | 2.3 | 1073741824 |
| topic | 2.4 | 1073741824 |
| topic | 2.5 | 1073741824 |
| topic | 2.6 | 1073741824 (1 gibibyte) |
| topic | 2.7 | 1073741824 (1 gibibyte) |
| topic | 2.8 | 1073741824 (1 gibibyte) |
| topic | 3.0 | 1073741824 (1 gibibyte) |
| topic | 3.1 | 1073741824 (1 gibibyte) |
| topic | 3.2 | 1073741824 (1 gibibyte) |
| topic | 3.3 | 1073741824 (1 gibibyte) |
| topic | 3.4 | 1073741824 (1 gibibyte) |
| topic | 3.5 | 1073741824 (1 gibibyte) |
| topic | 3.6 | 1073741824 (1 gibibyte) |
| topic | 3.7 | 1073741824 (1 gibibyte) |
| topic | 3.8 | 1073741824 (1 gibibyte) |
| topic | 3.9 | 1073741824 (1 gibibyte) |
| topic | 4.0 | 1073741824 (1 gibibyte) |
| topic | 4.1 | 1073741824 (1 gibibyte) |
| topic | 4.2 | 1073741824 (1 gibibyte) |
| topic | 4.3 | 1073741824 (1 gibibyte) |
| topic | 4.4 | 1073741824 (1 gibibyte) |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.