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, waitconnectpublic KafkaEightFirehoseFactory(Properties consumerProps, String feed)
public Firehose connect(InputRowParser<ByteBuffer> firehoseParser, File temporaryDirectory) throws IOException
FirehoseFactoryPrefetchableTextFilesFirehoseFactory 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 storedIOExceptionCopyright © 2011–2018. All rights reserved.