Package org.apache.flume.client.avro

Examples of org.apache.flume.client.avro.SpoolingFileLineReader


    executor = Executors.newSingleThreadScheduledExecutor();
    counterGroup = new CounterGroup();

    File directory = new File(spoolDirectory);
    reader = new SpoolingFileLineReader(directory, completedSuffix,
        bufferMaxLines, bufferMaxLineLength);
    runner = new SpoolDirectoryRunnable(reader, counterGroup);

    executor.scheduleWithFixedDelay(
        runner, 0, POLL_DELAY_MS, TimeUnit.MILLISECONDS);
View Full Code Here

TOP

Related Classes of org.apache.flume.client.avro.SpoolingFileLineReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.