public void start() {
logger.info("SpoolDirectorySource source starting with directory:{}",
spoolDirectory);
executor = Executors.newSingleThreadScheduledExecutor();
counterGroup = new CounterGroup();
File directory = new File(spoolDirectory);
reader = new SpoolingFileLineReader(directory, completedSuffix,
bufferMaxLines, bufferMaxLineLength);
runner = new SpoolDirectoryRunnable(reader, counterGroup);