ZhaoNiuniu commented on code in PR #8319:
URL: https://github.com/apache/inlong/pull/8319#discussion_r1241467143


##########
inlong-audit/audit-proxy/src/main/java/org/apache/inlong/audit/source/ServerMessageHandler.java:
##########
@@ -147,6 +151,12 @@ private AuditReply handleRequest(AuditRequest 
auditRequest) throws Exception {
         List<AuditMessageBody> bodyList = auditRequest.getMsgBodyList();
         int errorMsgBody = 0;
         for (AuditMessageBody auditMessageBody : bodyList) {
+            long msgDays = messageDays(auditMessageBody.getLogTs());
+            if (msgDays >= this.msgValidThreshold) {
+                LOGGER.info("Discard the data as it is from" + msgDays +

Review Comment:
   Modified.



-- 
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]

Reply via email to