aloyszhang commented on code in PR #10282: URL: https://github.com/apache/inlong/pull/10282#discussion_r1616506121
########## inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/message/file/ProxyMessageCache.java: ########## @@ -81,6 +82,10 @@ public ProxyMessageCache(InstanceProfile instanceProfile, String groupId, String extraMap.put(AttributeConstants.MESSAGE_SYNC_SEND, "false"); extraMap.putAll(AgentUtils.parseAddAttrToMap(instanceProfile.getPredefineFields())); extraMap.put(AUDIT_VERSION, instanceProfile.get(TASK_AUDIT_VERSION)); + String cycleUnit = instanceProfile.get(TASK_CYCLE_UNIT); + if (cycleUnit.compareToIgnoreCase(CycleUnitType.REAL_TIME) == 0) { Review Comment: ```suggestion if (cycleUnit.equalsIgnoreCase(CycleUnitType.REAL_TIME)) { ``` -- 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: commits-unsubscr...@inlong.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org