LogConfig

LogConfig is a Apache Kafka AbstractConfig for the configuration properties of a…​FIXME

Table 1. LogConfig’s Configuration Properties
Name Description

CleanupPolicyProp

Default: delete

Cluster-wide property (TopicConfigSynonyms): log.cleanup.policy

Used when:

CompressionTypeProp

DeleteRetentionMsProp

FileDeleteDelayMsProp

The time (in millis) to wait before deleting a file from the filesystem. Must be at least 0

Property: file.delete.delay.ms

Default: 60000

flushMs

Cluster-wide property (TopicConfigSynonyms): log.flush.interval.ms

FlushMessagesProp

Cluster-wide property (TopicConfigSynonyms): log.flush.interval.messages

indexInterval

MaxMessageBytesProp

MaxCompactionLagMsProp

MessageDownConversionEnableProp

MessageFormatVersionProp

MessageTimestampDifferenceMaxMsProp

MessageTimestampTypeProp

MinCleanableDirtyRatioProp

MinCompactionLagMsProp

MinInSyncReplicasProp

PreAllocateEnableProp

RetentionBytesProp

RetentionMsProp

Cluster-wide property (TopicConfigSynonyms): log.retention.ms

Used exclusively when Log is requested to deleteRetentionMsBreachedSegments

RetentionBytesProp

Default: -1L

Cluster-wide property (TopicConfigSynonyms): log.retention.bytes

Used exclusively when Log is requested to deleteRetentionSizeBreachedSegments

SegmentBytesProp

Cluster-wide property (TopicConfigSynonyms): log.segment.bytes

Used when:

The current value is available as LogConfig.segmentSize and used when:

SegmentIndexBytesProp

Cluster-wide property (TopicConfigSynonyms): log.index.size.max.bytes

SegmentJitterMsProp

SegmentMsProp

Default: 604800000 (7 days)

Cluster-wide property (TopicConfigSynonyms): log.roll.ms

Used when:

UncleanLeaderElectionEnableProp

randomSegmentJitter Method

randomSegmentJitter: Long

randomSegmentJitter is one of the following values:

Note
randomSegmentJitter is used when LogSegment utility is used to open a log segment (for the rollJitterMs property).

maxSegmentMs Method

maxSegmentMs: Long

maxSegmentMs…​FIXME

Note
maxSegmentMs is used when RollParams utility is used to create a RollParams instance.

Checking Out Whether Compact Cleanup Policy Is Enabled — compact Flag

compact: Boolean

compact…​FIXME

Note
compact is used when…​FIXME

Checking Out Whether Delete Cleanup Policy Is Enabled — delete Flag

delete: Boolean

delete flag is enabled (true) when delete cleanup policy is part of the cleanup.policy configuration property. Otherwise, delete flag is disabled (false).

Note

delete is used when:

results matching ""

    No results matching ""