You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2025/08/25 19:55:00 UTC
[jira] [Created] (KAFKA-19645) add a lower bound to num.replica.fetchers
Chia-Ping Tsai created KAFKA-19645:
--------------------------------------
Summary: add a lower bound to num.replica.fetchers
Key: KAFKA-19645
URL: https://issues.apache.org/jira/browse/KAFKA-19645
Project: Kafka
Issue Type: Improvement
Reporter: Chia-Ping Tsai
Assignee: Chia-Ping Tsai
`num.replica.fetchers` parameter does not enforce a lower bound, so both `num.replica.fetchers=0` or `num.replica.fetchers=-1` are valid when starting a broker. However, setting `num.replica.fetchers=-1` will result in only one fetcher being created, while setting `num.replica.fetchers=0` will cause a `java.lang.ArithmeticException: / by zero` during replication startup
--
This message was sent by Atlassian Jira
(v8.20.10#820010)