mirror of
https://github.com/apache/rocketmq.git
synced 2026-08-30 18:10:44 +08:00
recover the property key of group suffix enable
This commit is contained in:
@@ -54,7 +54,7 @@ public class Consumer {
|
||||
final String topic = commandLine.hasOption('t') ? commandLine.getOptionValue('t').trim() : "BenchmarkTest";
|
||||
final int threadCount = commandLine.hasOption('w') ? Integer.parseInt(commandLine.getOptionValue('w')) : 20;
|
||||
final String groupPrefix = commandLine.hasOption('g') ? commandLine.getOptionValue('g').trim() : "benchmark_consumer";
|
||||
final String isSuffixEnable = commandLine.hasOption('s') ? commandLine.getOptionValue('s').trim() : "false";
|
||||
final String isSuffixEnable = commandLine.hasOption('p') ? commandLine.getOptionValue('p').trim() : "false";
|
||||
final String filterType = commandLine.hasOption('f') ? commandLine.getOptionValue('f').trim() : null;
|
||||
final String expression = commandLine.hasOption('e') ? commandLine.getOptionValue('e').trim() : null;
|
||||
final double failRate = commandLine.hasOption('r') ? Double.parseDouble(commandLine.getOptionValue('r').trim()) : 0.0;
|
||||
@@ -190,7 +190,7 @@ public class Consumer {
|
||||
opt.setRequired(false);
|
||||
options.addOption(opt);
|
||||
|
||||
opt = new Option("s", "group suffix enable", true, "Consumer group suffix enable, Default: false");
|
||||
opt = new Option("p", "group suffix enable", true, "Consumer group suffix enable, Default: false");
|
||||
opt.setRequired(false);
|
||||
options.addOption(opt);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user