public int port() {
    return port;
  }
parse thrift url, now support thrift://host:port/{catalogName} and
zookeeper://host:port/{cluster}/{catalogName} . parse to AmsThriftUrl that contains properties
schema, host, port, catalogName, socketTimeout, url.

@param url - thrift url
@return -
amoro-common/src/main/java/org/apache/amoro/client/AmsThriftUrl.java