public static TEndPoint parseTEndPointUrl(String endPointUrl) throws BadNodeUrlException {
    return UrlUtils.parseTEndPointIpv4AndIpv6Url(endPointUrl);
  }
Parse TEndPoint from a given TEndPointUrl

@param endPointUrl ip:port
@return TEndPoint
@throws BadNodeUrlException Throw when unable to parse
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/NodeUrlUtils.java