public class EventHubBolt extends BaseRichBolt
Modifier and Type | Field and Description |
---|---|
protected EventHubBoltConfig |
boltConfig |
protected OutputCollector |
collector |
protected com.microsoft.eventhubs.client.EventHubSender |
sender |
Constructor and Description |
---|
EventHubBolt(EventHubBoltConfig config) |
EventHubBolt(String connectionString,
String entityPath) |
EventHubBolt(String userName,
String password,
String namespace,
String entityPath,
boolean partitionMode) |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer) |
void |
execute(Tuple tuple) |
void |
prepare(Map config,
TopologyContext context,
OutputCollector collector) |
cleanup
getComponentConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponentConfiguration
protected OutputCollector collector
protected com.microsoft.eventhubs.client.EventHubSender sender
protected EventHubBoltConfig boltConfig
public EventHubBolt(String userName, String password, String namespace, String entityPath, boolean partitionMode)
public EventHubBolt(EventHubBoltConfig config)
public void prepare(Map config, TopologyContext context, OutputCollector collector)
public void execute(Tuple tuple)
public void declareOutputFields(OutputFieldsDeclarer declarer)
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.