KIP-860 — Add client-provided option to guard against replication factor change during partition reassignments
Accepted Kafka 4.1 AdminBroker
Adds a validateOnly option to the AlterPartitionReassignments AdminClient API that lets callers verify a reassignment request (including replication factor impact) without executing it, and adds a targetReplicationFactor field to prevent accidental RF changes. AdminClient#describeTopics returns the full intermediate replica set during ongoing reassignments, making it impossible for callers to reliably compute the current RF without a TOCTOU race condition.
Protocol Impact
Metadata · UpdateMetadata · AlterPartitionReassignments
Details
| Author | Stanislav Kozlovski |
| Status | Accepted |
| Kafka Version | 4.1 |
| JIRA | KAFKA-14121 |
| Wiki | View on Apache Wiki |
| Created | 2022-07-28 |
| Last Modified | 2025-03-05 |
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.