void dumpStatsToLog() {
            log.info("Received in total " + resultsReceived.get() + ", " + errorsReceived.get() + " errors.");
            log.info("Time spent receiving is " + (System.currentTimeMillis() - startTimeMillis) + " ms.");
        }
Sample feeder demonstrating how to programmatically feed to a Vespa cluster.
vespa-feed-client-api/src/test/java/ai/vespa/feed/client/examples/JsonFileFeederExample.java