void batchFeed(InputStream stream, String batchId) {
        ResultCallBack callback = new ResultCallBack();
        log.info("Starting feed to " + endpoint + " for batch '" + batchId + "'");
        CompletableFuture<Void> promise = jsonFeeder.feedMany(stream, callback);
        promise.join(); // wait for feeding to complete
        callback.dumpStatsToLog();
    }
Feed all operations from a stream.

@param stream The input stream to read operations from (JSON array containing one or more document operations).
vespa-feed-client-api/src/test/java/ai/vespa/feed/client/examples/JsonFileFeederExample.java