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, ParseException
FirehoseFactory
connect
in interface FirehoseFactory<ByteBufferInputRowParser>
IOException
ParseException
Copyright © 2011–2017. All rights reserved.