conduktor.io ↗

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

AuthorStanislav Kozlovski
StatusAccepted
Kafka Version4.1
JIRAKAFKA-14121
WikiView on Apache Wiki
Created2022-07-28
Last Modified2025-03-05
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.