conduktor.io ↗

Kafka Error INVALID_VOTER_KEY

Error code 125 · Non-retriable KRaft

The voter key doesn't match the receiving replica's key.

Common Causes

Solutions

Diagnostic Commands

# Check KRaft metadata quorum status kafka-metadata-quorum.sh --bootstrap-server localhost:9092 --command-config admin.properties describe --replication # Look for voter events in controller logs grep 'INVALID_VOTER_KEY\|voter key\|AddRaftVoter\|quorum' /var/log/kafka/controller.log | tail -50

Related APIs

This error can be returned by: AddRaftVoter · UpdateRaftVoter · Vote

Debugging Kafka errors? Conduktor Console gives you real-time visibility into your cluster. Explore all errors in the Error Decoder.