KIP-1214 — Change log.segment.bytes configuration type from int to long to support segments larger than 2GB
Discussion Broker
Changes the type of `log.segment.bytes` from `int` to `long` to allow log segments larger than 2 GB. Modern high-capacity servers (e.g., EPYC nodes with 15 TB drives per disk) create disproportionately large numbers of segment files at the 2 GB limit, wasting file descriptors and increasing I/O overhead from frequent segment rotations.
Details
| Author | Mikhail Fesenko |
| Status | Discussion |
| JIRA | KAFKA-19603 |
| Wiki | View on Apache Wiki |
| Created | 2025-09-03 |
| Last Modified | 2025-09-03 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.