Hi Jonah,
Thanks for the KIP!
I have two questions:
1. For the unclean recovery tool, what is the default option for the
automatic leader election? Looks like it is enabled by default? I wonder if
the default behavior can be:
- If all the replicas reply in time, do the auto leader election.
- Otherwise, output the replica log info for the operator to review.
2. For the kafka-elect-leaders, I wonder if it makes sense to also
include the broker epoch for the DESIGNATED election. Just in case the
broker fails before it is elected?
On Thu, Jan 29, 2026 at 5:02 AM Jonah Hooper via dev <[email protected]>
wrote:
> Hello Kafka Developers,
>
> I would like to start discussing KIP-1275. This KIP proposes developing a
> command line tool to make it easier to recover offline partitions. It's
> intended as a complement to the unclean-recovery section of KIP-966
> <
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-966%3A+Eligible+Leader+Replicas#KIP966:EligibleLeaderReplicas-Uncleanrecovery
> >.
> I thought it would be easier to propose this tool as a separate KIP rather
> than amending KIP-966.
>
> KIP-1275 can be found here:
>
> https://cwiki.apache.org/confluence/display/KAFKA/KIP-1275%3A+New+command+line+tool+for+unclean+recovery
>
> Looking forward to suggestions and feedback :)
>
> Best,
> Jonah
>