pull/60/head
diaobisong 2 years ago
parent 3e15c8b958
commit ddb9354a19

@ -64,9 +64,10 @@ public class ConsumeServiceImpl implements ConsumeService {
taskInfo.setAnchorInfo(info); taskInfo.setAnchorInfo(info);
logUtils.print(LogParam.builder().bizType(LOG_BIZ_TYPE).object(taskInfo).build(), info); logUtils.print(LogParam.builder().bizType(LOG_BIZ_TYPE).object(taskInfo).build(), info);
Task task = context.getBean(Task.class).setTaskInfo(taskInfo); Task task = context.getBean(Task.class).setTaskInfo(taskInfo);
taskPendingHolder.route(topicGroupId).execute(task); taskPendingHolder.route(topicGroupId).execute(() -> {
task.run();
realTimeData(info); realTimeData(info);
});
} }
} }

Loading…
Cancel
Save