继承BasicRichBolt之后,实现如下方法:
public Map<String, Object> getComponentConfiguration() {
Map<String, Object> conf = new HashMap<String, Object>();
/**
* default tick tuple freq: 5 min
*/
conf.put(Config.TOPOLOGY_TICK_TUPLE_FREQ_SECS,
com.htsc.zl.app.log.util.Configuration
.getInteger("topology.tick.tuple.freq.secs"));
return conf;
}