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)