diff --git a/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SourceMetricData.java b/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SourceMetricData.java index f988d1385e9..91abcf22aa9 100644 --- a/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SourceMetricData.java +++ b/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SourceMetricData.java @@ -298,16 +298,6 @@ public void outputMetrics(long rowCountSize, long rowDataSize, long fetchDelay, } } - /** - * flush audit data - * usually call this method in close method or when checkpointing - */ - public void flushAuditData() { - if (auditOperator != null) { - auditOperator.send(); - } - } - public void outputMetrics(long rowCountSize, long rowDataSize, long dataTime) { outputDefaultMetrics(rowCountSize, rowDataSize); if (auditOperator != null) { diff --git a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/IcebergStreamWriter.java b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/IcebergStreamWriter.java index b43f56e6ce5..b3183063808 100644 --- a/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/IcebergStreamWriter.java +++ b/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/iceberg/src/main/java/org/apache/inlong/sort/iceberg/sink/IcebergStreamWriter.java @@ -17,10 +17,10 @@ package org.apache.inlong.sort.iceberg.sink; -import org.apache.flink.runtime.state.StateSnapshotContext; import org.apache.inlong.sort.base.metric.MetricOption; import org.apache.inlong.sort.iceberg.utils.SinkMetadataUtils; +import org.apache.flink.runtime.state.StateSnapshotContext; import org.apache.flink.streaming.api.operators.AbstractStreamOperator; import org.apache.flink.streaming.api.operators.BoundedOneInput; import org.apache.flink.streaming.api.operators.ChainingStrategy;