@Override
  public ConnectionRegistry create(URI uri, Configuration conf, User user) throws IOException {
    assert getScheme().equals(uri.getScheme());
    LOG.debug("connect to hbase cluster with zk quorum='{}' and parent='{}'", uri.getAuthority(),
      uri.getPath());
    Configuration c = new Configuration(conf);
    c.set(HConstants.CLIENT_ZOOKEEPER_QUORUM, uri.getAuthority());
    c.set(HConstants.ZOOKEEPER_ZNODE_PARENT, uri.getPath());
    return new ZKConnectionRegistry(c, user);
  }
Connection registry creator implementation for creating {@link ZKConnectionRegistry}.
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ZKConnectionRegistryURIFactory.java