Hi Neil, You are correct. I don't think we have implemented the unclean election configuration.
The kafka-leader-election CLI works with KRaft. Have you looked at that option for performing unclean leader elections with the CLI? Does it meet your requirements? In general using the unclean leader election config is extremely unsafe and I recommend using the CLI if it meets your requirements. Thanks, José On Wed, Oct 18, 2023 at 10:28 AM Neil Buesing <[email protected]> wrote: > > Development, > > with Raft controllers, is the unclean leader election / sec metric supose > to be available? > > kafka.controller:type=ControllerStats,name=UncleanLeaderElectionsPerSec > > Nothing in documentation indicates that it isn’t as well as in code > navigation nothing indicates to me that it wouldn’t show up, but even added > unclean leader election to true for both brokers and controllers and > nothing. > > (set this for all controllers and brokers) > KAFKA_UNCLEAN_LEADER_ELECTION_ENABLE: true > > Happy to report a Jira, but wanted to figure out if the bug was in the > documentation or the metric not being available? > > Thanks, > > Neil > > P.S. I did confirm that others have seen and wondered about this, > https://github.com/strimzi/strimzi-kafka-operator/issues/8169, but that is > about the only other report on this I have found. -- -José
