|
@@ -40,9 +40,9 @@ public class RocketMqConsumerListener {
|
|
|
}
|
|
|
|
|
|
private static void onlineExamStudent() {
|
|
|
- properties.put(PropertyKeyConst.GROUP_ID, Tag.EXAM_PROCESS_RECORD.getGroup() + "_" + ReportsUtil.getProfile());
|
|
|
+ properties.put(PropertyKeyConst.GROUP_ID, ReportsUtil.curConsumerGroup(Tag.EXAM_PROCESS_RECORD));
|
|
|
Consumer consumer = ONSFactory.createConsumer(properties);
|
|
|
- consumer.subscribe(ReportsUtil.getReportTopic(), Tag.EXAM_PROCESS_RECORD.getCode(), new MessageListener() {
|
|
|
+ consumer.subscribe(ReportsUtil.curTopic(Tag.EXAM_PROCESS_RECORD), Tag.EXAM_PROCESS_RECORD.name(), new MessageListener() {
|
|
|
|
|
|
@Override
|
|
|
public Action consume(Message message, ConsumeContext context) {
|