[ https://issues.apache.org/jira/browse/KAFKA-14121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kuan Po Tseng resolved KAFKA-14121. ----------------------------------- Resolution: Fixed > AlterPartitionReassignments API should allow callers to specify the option of > preserving the replication factor > --------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-14121 > URL: https://issues.apache.org/jira/browse/KAFKA-14121 > Project: Kafka > Issue Type: New Feature > Reporter: Stanislav Kozlovski > Assignee: Kuan Po Tseng > Priority: Minor > Fix For: 4.1.0 > > > Using Kafka's public APIs to get metadata regarding the non-reassigning > replicas for a topic is unreliable and prone to race conditions. > If a person or a system is to rely on the provided metadata, it can end up > {color:#202124}unintentionally {color}increasing the replication factor for a > partition. > It would be useful to have some sort of guardrail against this happening > {color:#202124}inadvertently. > See > [https://cwiki.apache.org/confluence/display/KAFKA/KIP-860%3A+Add+client-provided+option+to+guard+against+replication+factor+change+during+partition+reassignments] > for more detail{color} -- This message was sent by Atlassian Jira (v8.20.10#820010)