luchunliang commented on code in PR #10004:
URL: https://github.com/apache/inlong/pull/10004#discussion_r1569808167


##########
inlong-audit/audit-service/src/main/java/org/apache/inlong/audit/sink/CacheSink.java:
##########
@@ -72,7 +72,7 @@ private void process() {
             StatData data = dataQueue.pull(pullTimeOut, TimeUnit.MILLISECONDS);
             while (data != null) {
                 String cacheKey = CacheUtils.buildCacheKey(data.getLogTs(), 
data.getInlongGroupId(),
-                        data.getInlongStreamId(), data.getAuditId(), 
data.getAuditTag());
+                        data.getInlongStreamId(), data.getAuditId());

Review Comment:
   Please check again about removing auditTag.
   StatData put from a Queue to a Map, it is possible that these StatData have 
same cacheKey.



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

Reply via email to