public static CompletableFuture<AsyncConnection> createAsyncConnection(URI connectionUri,
    Configuration conf) {
    User user;
    try {
      user = AuthUtil.loginClient(conf);
    } catch (IOException e) {
      CompletableFuture<AsyncConnection> future = new CompletableFuture<>();
      future.completeExceptionally(e);
      return future;
    }
    return createAsyncConnection(connectionUri, conf, user);
  }
Call {@link #createAsyncConnection(Configuration, User)} using the given {@code connectionUri},
{@code conf} and a User object created by {@link UserProvider}. The given {@code conf} will
also be used to initialize the {@link UserProvider}.
@param connectionUri the connection uri for the hbase cluster
@param conf          configuration
@return AsyncConnection object wrapped by CompletableFuture
@see #createAsyncConnection(Configuration, User)
@see UserProvider
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionFactory.java