本文整理了Java中org.apache.storm.Config.setNumAckers()
方法的一些代码示例,展示了Config.setNumAckers()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.setNumAckers()
方法的具体详情如下:
包路径:org.apache.storm.Config
类名称:Config
方法名:setNumAckers
暂无
代码示例来源:origin: apache/storm
public void setNumAckers(int numExecutors) {
setNumAckers(this, numExecutors);
}
代码示例来源:origin: apache/storm
conf.setNumAckers(1);
conf.setMaxTaskParallelism(1);
conf.setDebug(true);
代码示例来源:origin: intel-hadoop/HiBench
private Config getConf() {
Config conf = new Config();
conf.setNumWorkers(config.workerCount);
conf.put(Config.TOPOLOGY_BACKPRESSURE_ENABLE, false);
if (!config.ackon) {
conf.setNumAckers(0);
}
return conf;
}
代码示例来源:origin: apache/metron
@Override
public Config apply(Arg arg) {
if(arg.getArg() != null) {
arg.getConfig().setNumAckers(Integer.parseInt(arg.getArg()));
}
return arg.getConfig();
}
}
代码示例来源:origin: apache/metron
Config.setNumAckers(finalConfig, parserConfig.getNumAckers());
代码示例来源:origin: com.twitter.heron/heron-storm
public void setNumAckers(int numExecutors) {
setNumAckers(this, numExecutors);
}
代码示例来源:origin: org.apache.storm/storm-core
public void setNumAckers(int numExecutors) {
setNumAckers(this, numExecutors);
}
代码示例来源:origin: xuwujing/springBoot-study
Config conf = new Config();
conf.setNumAckers(1);
代码示例来源:origin: xuwujing/kafka-study
Config conf = new Config();
conf.setNumAckers(1);
代码示例来源:origin: yahoo/storm-perf-test
conf.setDebug(_debug);
conf.setNumWorkers(_numWorkers);
conf.setNumAckers(_ackers);
if (_maxSpoutPending > 0) {
conf.setMaxSpoutPending(_maxSpoutPending);
内容来源于网络,如有侵权,请联系作者删除!