Name Description Type Default Valid Values Importance
cleanup.policyShould old segments in this log be deleted or deduplicated?stringdelete[compact, delete]medium
compression.typeSpecify the final compression type for a given topic. This configuration accepts the standard compression codecs ('gzip', 'snappy', lz4). It additionally accepts 'uncompressed' which is equivalent to no compression; and 'producer' which means retain the original compression codec set by the producer.stringproducer[uncompressed, snappy, lz4, gzip, producer]medium
delete.retention.msThe time to retain delete markers in the log. Only applicable for logs that are being compacted.long86400000[0,...]medium
file.delete.delay.msThe time to wait before deleting a file from the filesystemlong60000[0,...]medium
flush.messagesThe number of messages that can be written to the log before a flush is forcedlong9223372036854775807[0,...]medium
flush.msThe amount of time the log can have dirty data before a flush is forcedlong9223372036854775807[0,...]medium
index.interval.bytesThe approximate number of bytes between index entriesint4096[0,...]medium
max.message.bytesThe maximum size of a messageint1000012[0,...]medium
message.format.versionSpecify the message format version the broker will use to append messages to the logs. The value should be a valid ApiVersion. Some examples are: 0.8.2, 0.9.0.0, 0.10.0, check ApiVersion for more details. By setting a particular message format version, the user is certifying that all the existing messages on disk are smaller or equal than the specified version. Setting this value incorrectly will cause consumers with older versions to break as they will receive messages with a format that they don't understand.string0.10.0-IV1medium
message.timestamp.difference.max.msThe maximum difference allowed between the timestamp when a broker receives a message and the timestamp specified in the message. If message.timestamp.type=CreateTime, a message will be rejected if the difference in timestamp exceeds this threshold. This configuration is ignored if message.timestamp.type=LogAppendTime.long9223372036854775807[0,...]medium
message.timestamp.typeDefine whether the timestamp in the message is message create time or log append time. The value should be either `CreateTime` or `LogAppendTime`stringCreateTimemedium
min.cleanable.dirty.ratioThe ratio of bytes that are available for cleaning to the bytes already cleaneddouble0.5[0,...,1]medium
min.insync.replicasIf number of insync replicas drops below this number, we stop accepting writes with -1 (or all) required acksint1[1,...]medium
preallocateShould pre allocate file when create new segment?booleanfalsemedium
retention.bytesThe approximate total number of bytes this log can uselong-1medium
retention.msThe approximate maximum age of the last segment that is retainedlong604800000medium
segment.bytesThe hard maximum for the size of a segment file in the logint1073741824[14,...]medium
segment.index.bytesThe maximum size of an index fileint10485760[0,...]medium
segment.jitter.msThe maximum random jitter subtracted from segmentMs to avoid thundering herds of segment rollinglong0[0,...]medium
segment.msThe soft maximum on the amount of time before a new log segment is rolledlong604800000[0,...]medium
unclean.leader.election.enableIndicates whether unclean leader election is enabledbooleantruemedium