conduktor.io ↗

KIP-1351 — Add --cancel-all to kafka-reassign-partitions

Discussion Admin

Adds a --cancel-all action to kafka-reassign-partitions.sh that lists in-flight reassignments via listPartitionReassignments and cancels every one with non-empty adding/removing replica sets through alterPartitionReassignments with replicas = null, leaving --cancel unchanged. Cancelling all reassignments today requires reconstructing the original JSON plan or scripting the Admin calls by hand, which is slow and error-prone during an incident when the plan file is missing or stale.

Details

AuthorManan Gupta
StatusDiscussion
JIRAKAFKA-20614
WikiView on Apache Wiki
Created2026-05-26
Last Modified2026-05-26
Explore how this KIP affects the Kafka protocol in the Protocol Explorer, or see the full KIP database.