@Override
    protected void doCloseAsync(CompletableFuture<?> future) {
        closed = true;
        final ScheduledFuture<?> scheduledFuture = this.scheduledFuture;
        if (scheduledFuture != null) {
            scheduledFuture.cancel(true);
        }
        super.doCloseAsync(future);
    }
Returns a new {@link EurekaEndpointGroupBuilder} created with the specified {@link HttpPreprocessor}
and path.
eureka/src/main/java/com/linecorp/armeria/client/eureka/EurekaEndpointGroup.java