public static VoterNode of(
            ReplicaKey voterKey,
            Endpoints listeners,
            SupportedVersionRange supportedKRaftVersion
        ) {
            return new VoterNode(voterKey, listeners, supportedKRaftVersion);
        }
Returns the listeners of the voter node
raft/src/main/java/org/apache/kafka/raft/internals/VoterSet.java