public class KafkaEightFirehoseFactory extends Object implements FirehoseFactory<InputRowParser<ByteBuffer>>
Constructor and Description |
---|
KafkaEightFirehoseFactory(Properties consumerProps,
String feed) |
Modifier and Type | Method and Description |
---|---|
Firehose |
connect(InputRowParser<ByteBuffer> firehoseParser,
File temporaryDirectory)
Initialization method that connects up the fire hose.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connect
public KafkaEightFirehoseFactory(Properties consumerProps, String feed)
public Firehose connect(InputRowParser<ByteBuffer> firehoseParser, File temporaryDirectory) throws IOException
FirehoseFactory
PrefetchableTextFilesFirehoseFactory
may use a temporary
directory to cache data in it.connect
in interface FirehoseFactory<InputRowParser<ByteBuffer>>
firehoseParser
- an input row parsertemporaryDirectory
- a directory where temporary files are storedIOException
Copyright © 2011–2018. All rights reserved.