Genseric Ghiro created KAFKA-19726:
--------------------------------------
Summary: Throw an exception if client tries to override topic
replication factor with a value that it < min.insync.replicas
Key: KAFKA-19726
URL: https://issues.apache.org/jira/browse/KAFKA-19726
Project: Kafka
Issue Type: Improvement
Components: core
Reporter: Genseric Ghiro
Assignee: Genseric Ghiro
The goal of this ticket is to start a KIP with the following proposed changes:
Currently, the broker overrides settings upon a client initial request. I.e.
there's some logic to consolidate/merge settings from the broker and from the
client. During that step, it should be doable to throw an exception if there's
an invalid configuration. This ticket is specifically for throwing an exception
if the client overrides `replication.factor` with a value that is less than
`min.insync.replicas` specified by the broker. This check should happen where
the “merging” logic happens, on the broker side.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)