LogConfig¶
cleanup.policy¶
compact¶
compact is true when cleanup.policy contains compact policy.
compact is used when:
LogCleanerManageris requested to grabFilthiestCompactedLog, pauseCleaningForNonCompactedPartitions, deletableLogs, maybeTruncateCheckpoint, isCompactAndDeleteLogConfigis requested for maxSegmentMsLogManageris requested to updateTopicConfig and cleanupLogsUnifiedLogis requested to append
leader.replication.throttled.replicas¶
A list of replicas for which log replication should be throttled on the leader side.
The list should describe a set of replicas in the form [PartitionId]:[BrokerId],[PartitionId]:[BrokerId]:... or alternatively the wildcard * can be used to throttle all replicas for this topic.
Default: (empty)
Use LogConfig.LeaderReplicationThrottledReplicas to access the current value
Used when:
ReassignPartitionsCommandis createdTopicConfigHandleris requested to processConfigChanges
follower.replication.throttled.replicas¶
A list of replicas for which log replication should be throttled on the follower side.
The list should describe a set of replicas in the form [PartitionId]:[BrokerId],[PartitionId]:[BrokerId]:... or alternatively the wildcard * can be used to throttle all replicas for this topic.
Default: (empty)
Use LogConfig.FollowerReplicationThrottledReplicas to access the current value
Used when:
ReassignPartitionsCommandis createdTopicConfigHandleris requested to processConfigChanges
unclean.leader.election.enable¶
Default: false (disabled)
Use LogConfig.uncleanLeaderElectionEnable to access the current value.
TransactionStateManager disables the property explicitly (false) for __transaction_state topic.
Used in extractLogConfigMap
Utilities¶
extractLogConfigMap¶
extractLogConfigMap(
kafkaConfig: KafkaConfig): Map[String, Object]
extractLogConfigMap...FIXME
extractLogConfigMap is used when:
LogManageris createdConfigHelperis requested todescribeConfigsZkAdminManageris requested to maybePopulateMetadataAndConfigs