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.
Default Values by Kafka Version
| Kafka Version | Default Value |
|---|---|
| 0.11.0 | 1073741824 |
| 1.0 | 1073741824 |
| 1.1 | 1073741824 |
| 2.0 | 1073741824 |
| 2.1 | 1073741824 |
| 2.2 | 1073741824 |
| 2.3 | 1073741824 |
| 2.4 | 1073741824 |
| 2.5 | 1073741824 |
| 2.6 | 1073741824 (1 gibibyte) |
| 2.7 | 1073741824 (1 gibibyte) |
| 2.8 | 1073741824 (1 gibibyte) |
| 3.0 | 1073741824 (1 gibibyte) |
| 3.1 | 1073741824 (1 gibibyte) |
| 3.2 | 1073741824 (1 gibibyte) |
| 3.3 | 1073741824 (1 gibibyte) |
| 3.4 | 1073741824 (1 gibibyte) |
| 3.5 | 1073741824 (1 gibibyte) |
| 3.6 | 1073741824 (1 gibibyte) |
| 3.7 | 1073741824 (1 gibibyte) |
| 3.8 | 1073741824 (1 gibibyte) |
| 3.9 | 1073741824 (1 gibibyte) |
| 4.0 | 1073741824 (1 gibibyte) |
| 4.1 | 1073741824 (1 gibibyte) |
| 4.2 | 1073741824 (1 gibibyte) |
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.