@Override
    public int hashCode() {
        return Objects.hash(listenerName, securityProtocol, host, port);
    }
Returns the port to which the listener is bound.
clients/src/main/java/org/apache/kafka/common/Endpoint.java