void failStage(String what, Throwable exception) {
            if (future.completeExceptionally(exception)) {
                synchronized (EndpointReadyFuture.this) {
                    incomplete.clear();
                }
                log.warn("Endpoint {} will never become ready because we encountered an {} exception",
                        endpointName, what, exception);
            }
        }
Build the EndpointReadyFutures object.

@param authorizer    The authorizer to use, if any. Will be started.
@param info          Server information to be passed to the authorizer.

@return              The new futures object.
server-common/src/main/java/org/apache/kafka/server/network/EndpointReadyFutures.java