doleyzi commented on code in PR #9201:
URL: https://github.com/apache/inlong/pull/9201#discussion_r1380036308
##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/task/filecollect/LogFileCollectTask.java:
##########
@@ -305,14 +316,17 @@ private void dealWithEvenMap() {
removeTimeoutEven(eventMap, retry);
for (Map.Entry<String, Map<String, InstanceProfile>> entry :
eventMap.entrySet()) {
Map<String, InstanceProfile> sameDataTimeEvents = entry.getValue();
+ if (sameDataTimeEvents.isEmpty()) {
+ return;
+ }
// 根据event的数据时间、业务的周期、偏移量计算出该event是否需要在当前时间处理
Review Comment:
chinese
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]