showuon commented on code in PR #17575: URL: https://github.com/apache/kafka/pull/17575#discussion_r1811933891
########## storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManagerConfig.java: ########## @@ -104,7 +104,7 @@ public final class RemoteLogManagerConfig { (name, value) -> { if ((int) value < -1 || (int) value == 0) throw new ConfigException(name, value, "Value can be -1 or greater than 0"); }, - () -> REMOTE_LOG_MANAGER_THREAD_POOL_FALLBACK + () -> "[-1,1,...]" Review Comment: > What is the usecase for core pool size as 0 that is beneficial for users for these configurations? if somebody sets it as 0, it will be inefficient as it needs to create a thread every time. I think it's the use's responsibility to set the config. But I'm fine we disallow the value 0 here if we don't think it makes sense. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org