public class RocketMQFirehoseFactory extends Object implements FirehoseFactory<ByteBufferInputRowParser>
| Constructor and Description |
|---|
RocketMQFirehoseFactory(Properties consumerProps,
String consumerGroup,
List<String> feed,
String pullBatchSize) |
| Modifier and Type | Method and Description |
|---|---|
Firehose |
connect(ByteBufferInputRowParser byteBufferInputRowParser)
Initialization method that connects up the fire hose.
|
public RocketMQFirehoseFactory(Properties consumerProps, String consumerGroup, List<String> feed, String pullBatchSize)
public Firehose connect(ByteBufferInputRowParser byteBufferInputRowParser) throws IOException, com.metamx.common.parsers.ParseException
FirehoseFactoryconnect in interface FirehoseFactory<ByteBufferInputRowParser>IOExceptioncom.metamx.common.parsers.ParseExceptionCopyright © 2011–2016. All rights reserved.