@Override
    protected void doCloseAsync(CompletableFuture<?> future) {
        final ScheduledFuture<?> scheduledFuture = this.scheduledFuture;
        if (scheduledFuture != null) {
            scheduledFuture.cancel(true);
        }
        future.complete(null);
    }
Returns a newly-created {@link ConsulEndpointGroupBuilder} with the specified {@code consulUri}
and {@code serviceName} to build {@link ConsulEndpointGroupBuilder}.

@param consulUri the URI of Consul API service
@param serviceName the service name to register
consul/src/main/java/com/linecorp/armeria/client/consul/ConsulEndpointGroup.java