KAFKA-18868 add the "default value" explanation to the docs of num.replica.alter.log.dirs.threads (#19038)

Update the documentation for the `num.replica.alter.log.dirs.threads` configuration to clarify that its default value is determined by the number of log directories specified in the `log.dirs` configuration.

Reviewers: Ken Huang <s7133700@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Logan Zhu 2025-03-01 22:37:35 +08:00 committed by Chia-Ping Tsai
parent e7a13f759e
commit ae798f12be
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ public class ServerConfigs {
public static final String BACKGROUND_THREADS_DOC = "The number of threads to use for various background processing tasks";
public static final String NUM_REPLICA_ALTER_LOG_DIRS_THREADS_CONFIG = "num.replica.alter.log.dirs.threads";
public static final String NUM_REPLICA_ALTER_LOG_DIRS_THREADS_DOC = "The number of threads that can move replicas between log directories, which may include disk I/O";
public static final String NUM_REPLICA_ALTER_LOG_DIRS_THREADS_DOC = "The number of threads that can move replicas between log directories, which may include disk I/O. " +
"The default value is equal to the number of directories specified in the <code>" + ServerLogConfigs.LOG_DIR_CONFIG + "</code> or <code>" + ServerLogConfigs.LOG_DIRS_CONFIG + "</code> configuration property.";
public static final String REQUEST_TIMEOUT_MS_CONFIG = CommonClientConfigs.REQUEST_TIMEOUT_MS_CONFIG;
public static final int REQUEST_TIMEOUT_MS_DEFAULT = 30000;