DefaultMQPushConsumer consumer = new DefaultMQPushConsumer("benchmark_consumer");
consumer.setInstanceName(Long.toString(System.currentTimeMillis()));
consumer.setConsumeFromWhere(ConsumeFromWhere.CONSUME_FROM_MAX_OFFSET);
consumer.subscribe("BenchmarkTest", "*");
consumer.registerMessageListener(new MessageListenerConcurrently() {
@Override
public ConsumeConcurrentlyStatus consumeMessage(List<MessageExt> msgs,
ConsumeConcurrentlyContext context) {