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:
Federico Valeri 2025-08-07 08:30:10 +02:00 committed by GitHub
parent 03190e4c22
commit 21db7e00bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 8 deletions

View File

@ -75,8 +75,8 @@ log.dirs=/tmp/kraft-broker-logs
num.partitions=1
# 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.
num.recovery.threads.per.data.dir=1
# This value is recommended to be increased based on the installation resources.
num.recovery.threads.per.data.dir=2
############################# Internal Topic Settings #############################
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"

View File

@ -75,8 +75,8 @@ log.dirs=/tmp/kraft-controller-logs
num.partitions=1
# 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.
num.recovery.threads.per.data.dir=1
# This value is recommended to be increased based on the installation resources.
num.recovery.threads.per.data.dir=2
############################# Internal Topic Settings #############################
# The replication factor for the group metadata internal topics "__consumer_offsets" and "__transaction_state"

View File

@ -78,8 +78,8 @@ log.dirs=/tmp/kraft-combined-logs
num.partitions=1
# 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.
num.recovery.threads.per.data.dir=1
# This value is recommended to be increased based on the installation resources.
num.recovery.threads.per.data.dir=2
############################# Internal Topic Settings #############################
# The replication factor for the group metadata internal topics "__consumer_offsets", "__share_group_state" and "__transaction_state"

View File

@ -87,8 +87,8 @@ log.dirs=/tmp/kraft-combined-logs
num.partitions=1
# 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.
num.recovery.threads.per.data.dir=1
# This value is recommended to be increased based on the installation resources.
num.recovery.threads.per.data.dir=2
############################# Internal Topic Settings #############################
# The replication factor for the group metadata internal topics "__consumer_offsets", "__share_group_state" and "__transaction_state"