conduktor.io ↗

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

ComponentKafka version lineDocumented default
topic0.11.01073741824
topic1.01073741824
topic1.11073741824
topic2.01073741824
topic2.11073741824
topic2.21073741824
topic2.31073741824
topic2.41073741824
topic2.51073741824
topic2.61073741824 (1 gibibyte)
topic2.71073741824 (1 gibibyte)
topic2.81073741824 (1 gibibyte)
topic3.01073741824 (1 gibibyte)
topic3.11073741824 (1 gibibyte)
topic3.21073741824 (1 gibibyte)
topic3.31073741824 (1 gibibyte)
topic3.41073741824 (1 gibibyte)
topic3.51073741824 (1 gibibyte)
topic3.61073741824 (1 gibibyte)
topic3.71073741824 (1 gibibyte)
topic3.81073741824 (1 gibibyte)
topic3.91073741824 (1 gibibyte)
topic4.01073741824 (1 gibibyte)
topic4.11073741824 (1 gibibyte)
topic4.21073741824 (1 gibibyte)
topic4.31073741824 (1 gibibyte)
topic4.41073741824 (1 gibibyte)
Manage Kafka configs across all your clusters with Conduktor Console — view, compare, and update configurations in one place.