mirror of https://github.com/apache/kafka.git
KAFKA-19573: Update num.recovery.threads.per.data.dir configs (#20299)
The default value of `num.recovery.threads.per.data.dir` is now 2 according to KIP-1030. We should update config files which are still setting 1. --------- Signed-off-by: Federico Valeri <fedevaleri@gmail.com> Reviewers: Luke Chen <showuon@gmail.com>
This commit is contained in:
parent
03190e4c22
commit
21db7e00bc
|
@ -75,8 +75,8 @@ log.dirs=/tmp/kraft-broker-logs
|
||||||
num.partitions=1
|
num.partitions=1
|
||||||
|
|
||||||
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
||||||
# This value is recommended to be increased for installations with data dirs located in RAID array.
|
# This value is recommended to be increased based on the installation resources.
|
||||||
num.recovery.threads.per.data.dir=1
|
num.recovery.threads.per.data.dir=2
|
||||||
|
|
||||||
############################# Internal Topic Settings #############################
|
############################# Internal Topic Settings #############################
|
||||||
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"
|
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"
|
||||||
|
|
|
@ -75,8 +75,8 @@ log.dirs=/tmp/kraft-controller-logs
|
||||||
num.partitions=1
|
num.partitions=1
|
||||||
|
|
||||||
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
||||||
# This value is recommended to be increased for installations with data dirs located in RAID array.
|
# This value is recommended to be increased based on the installation resources.
|
||||||
num.recovery.threads.per.data.dir=1
|
num.recovery.threads.per.data.dir=2
|
||||||
|
|
||||||
############################# Internal Topic Settings #############################
|
############################# Internal Topic Settings #############################
|
||||||
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"
|
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"
|
||||||
|
|
|
@ -78,8 +78,8 @@ log.dirs=/tmp/kraft-combined-logs
|
||||||
num.partitions=1
|
num.partitions=1
|
||||||
|
|
||||||
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
||||||
# This value is recommended to be increased for installations with data dirs located in RAID array.
|
# This value is recommended to be increased based on the installation resources.
|
||||||
num.recovery.threads.per.data.dir=1
|
num.recovery.threads.per.data.dir=2
|
||||||
|
|
||||||
############################# Internal Topic Settings #############################
|
############################# Internal Topic Settings #############################
|
||||||
# The replication factor for the group metadata internal topics "__consumer_offsets", "__share_group_state" and "__transaction_state"
|
# The replication factor for the group metadata internal topics "__consumer_offsets", "__share_group_state" and "__transaction_state"
|
||||||
|
|
|
@ -87,8 +87,8 @@ log.dirs=/tmp/kraft-combined-logs
|
||||||
num.partitions=1
|
num.partitions=1
|
||||||
|
|
||||||
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
# The number of threads per data directory to be used for log recovery at startup and flushing at shutdown.
|
||||||
# This value is recommended to be increased for installations with data dirs located in RAID array.
|
# This value is recommended to be increased based on the installation resources.
|
||||||
num.recovery.threads.per.data.dir=1
|
num.recovery.threads.per.data.dir=2
|
||||||
|
|
||||||
############################# Internal Topic Settings #############################
|
############################# Internal Topic Settings #############################
|
||||||
# The replication factor for the group metadata internal topics "__consumer_offsets", "__share_group_state" and "__transaction_state"
|
# The replication factor for the group metadata internal topics "__consumer_offsets", "__share_group_state" and "__transaction_state"
|
||||||
|
|
Loading…
Reference in New Issue