@Override
    public boolean equals(Object o) {
        if (o == null || (!o.getClass().equals(getClass()))) return false;
        RaftVoterEndpoint other = (RaftVoterEndpoint) o;
        return name.equals(other.name) &&
            host.equals(other.host) &&
            port == other.port;
    }
Create an endpoint for a metadata quorum voter.

@param name              The human-readable name for this endpoint. For example, CONTROLLER.
@param host              The DNS hostname for this endpoint.
@param port              The network port for this endpoint.
clients/src/main/java/org/apache/kafka/clients/admin/RaftVoterEndpoint.java