LogConfig¶
cleanup.policy¶
compact¶
compact
is true
when cleanup.policy contains compact
policy.
compact
is used when:
LogCleanerManager
is requested to grabFilthiestCompactedLog, pauseCleaningForNonCompactedPartitions, deletableLogs, maybeTruncateCheckpoint, isCompactAndDeleteLogConfig
is requested for maxSegmentMsLogManager
is requested to updateTopicConfig and cleanupLogsUnifiedLog
is 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:
ReassignPartitionsCommand
is createdTopicConfigHandler
is 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:
ReassignPartitionsCommand
is createdTopicConfigHandler
is 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:
LogManager
is createdConfigHelper
is requested todescribeConfigs
ZkAdminManager
is requested to maybePopulateMetadataAndConfigs