public class MqttBolt extends BaseRichBolt
Constructor and Description |
---|
MqttBolt(MqttOptions options,
MqttTupleMapper mapper) |
MqttBolt(MqttOptions options,
MqttTupleMapper mapper,
boolean retain) |
MqttBolt(MqttOptions options,
MqttTupleMapper mapper,
KeyStoreLoader keyStoreLoader) |
MqttBolt(MqttOptions options,
MqttTupleMapper mapper,
KeyStoreLoader keyStoreLoader,
boolean retain) |
Modifier and Type | Method and Description |
---|---|
void |
declareOutputFields(OutputFieldsDeclarer declarer) |
void |
execute(Tuple input) |
void |
prepare(Map conf,
TopologyContext context,
OutputCollector collector) |
cleanup
getComponentConfiguration
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getComponentConfiguration
public MqttBolt(MqttOptions options, MqttTupleMapper mapper)
public MqttBolt(MqttOptions options, MqttTupleMapper mapper, boolean retain)
public MqttBolt(MqttOptions options, MqttTupleMapper mapper, KeyStoreLoader keyStoreLoader)
public MqttBolt(MqttOptions options, MqttTupleMapper mapper, KeyStoreLoader keyStoreLoader, boolean retain)
public void prepare(Map conf, TopologyContext context, OutputCollector collector)
public void execute(Tuple input)
public void declareOutputFields(OutputFieldsDeclarer declarer)
Copyright © 2016 The Apache Software Foundation. All Rights Reserved.