randomSegmentJitter: Long
LogConfig
LogConfig is an AbstractConfig for the topic-level configuration properties.
LogConfig uses the keys that are symonyms (aliases) of the keys of TopicConfig. As the TopicConfig itself says: "Eventually this should replace LogConfig.scala."
| Name | Description |
|---|---|
Cluster-wide property: log.cleanup.policy Default: Used when:
|
|
Cluster-wide property: log.flush.interval.messages |
|
Cluster-wide property: log.flush.interval.ms |
|
Cluster-wide property: min.insync.replicas Used when:
|
|
Used when:
|
|
Cluster-wide property: log.retention.ms Used exclusively when |
|
Cluster-wide property: log.segment.bytes Used when:
The current value is available as
|
|
Cluster-wide property: log.index.size.max.bytes |
|
Cluster-wide property: log.roll.ms Default: Used when:
|
|
Cluster-wide property: unclean.leader.election.enable Disabled ( Used when:
|
TopicConfigSynonyms
TopicConfigSynonyms are the topic-level configuration properties (with the highest priority) with their corresponding cluster-wide (broker-level) configuration properties.
|
Note
|
TopicConfigSynonyms uses the same configuration properties as KafkaServer.copyKafkaConfigToLog utility.
|
| Topic-Level Property Name | Cluster-Wide Property Name |
|---|---|
|
Note
|
|
randomSegmentJitter Method
randomSegmentJitter is one of the following values:
-
0if segment.jitter.ms is0 -
Random int value modulo the minimum of segment.jitter.ms and segment.ms
|
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
|
|