aloyszhang commented on code in PR #10232:
URL: https://github.com/apache/inlong/pull/10232#discussion_r1603138935


##########
inlong-audit/audit-sdk/src/main/java/org/apache/inlong/audit/AuditReporterImpl.java:
##########
@@ -502,4 +501,22 @@ private void checkFlushTime() {
             }
         });
     }
+
+    /**
+     * Generate success and failure, real-time and non-real-time, retry, 
discard and other Audit item IDs through the baseline Audit ID.
+     *
+     * @param baseAuditId
+     * @param success
+     * @param isRealtime
+     * @param discard
+     * @param retry
+     * @return
+     */
+    public int buildAuditId(AuditIdEnum baseAuditId,
+            boolean success,
+            boolean isRealtime,
+            boolean discard,
+            boolean retry) {
+        return AuditManagerUtils.buildAuditId(baseAuditId, success, 
isRealtime, discard, retry);
+    }

Review Comment:
   Why add a method that just calls a public static method 
`AuditManagerUtils.buildAuditId`?



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