org.apache.storm.Config.setNumAckers()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(153)

本文整理了Java中org.apache.storm.Config.setNumAckers()方法的一些代码示例,展示了Config.setNumAckers()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Config.setNumAckers()方法的具体详情如下:
包路径:org.apache.storm.Config
类名称:Config
方法名:setNumAckers

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);

相关文章