vernedeng commented on code in PR #11835:
URL: https://github.com/apache/inlong/pull/11835#discussion_r2047159097


##########
inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/CdcExactlyMetric.java:
##########
@@ -89,8 +71,8 @@ public void outputMetricsWithEstimate(Object data, long 
dataTime) {
         }
     }
 
-    public void outputMetrics(long rowCountSize, long rowDataSize, long 
dataTime, int key) {
-        if (auditReporter != null) {
+    public void outputMetrics(long rowCountSize, long rowDataSize, long 
dataTime, Integer key) {
+        if (auditReporter != null && key != null) {

Review Comment:
   fixed, thx



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