[
https://issues.apache.org/jira/browse/KAFKA-19726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gavin Wang updated KAFKA-19726:
-------------------------------
Description:
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.
KIP:
https://cwiki.apache.org/confluence/spaces/KAFKA/pages/449286526/KIP-1372+Reject+topic+configurations+where+min.insync.replicas+exceeds+the+replication+factor
was:
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.
> 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: Gavin Wang
> Priority: Minor
> Labels: needs-kip
> Original Estimate: 72h
> Remaining Estimate: 72h
>
> 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.
> KIP:
> https://cwiki.apache.org/confluence/spaces/KAFKA/pages/449286526/KIP-1372+Reject+topic+configurations+where+min.insync.replicas+exceeds+the+replication+factor
--
This message was sent by Atlassian Jira
(v8.20.10#820010)