public Set<Integer> rejectingVoters() {
        return votersInState(State.REJECTED).map(ReplicaKey::id).collect(Collectors.toSet());
    }
Get the set of voters that have rejected our candidacy.

@return The set of rejecting voters
raft/src/main/java/org/apache/kafka/raft/CandidateState.java