Open XiaoYou201 opened 5 months ago
The audit information will report when every records deserializing, So,it will new many MetricsController objects.
https://github.com/apache/inlong/blob/03c2160411d171b7ee4fc00430938cf7aac457d6/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/pulsar/src/main/java/org/apache/inlong/sort/pulsar/table/PulsarTableDeserializationSchema.java#L99-L118
And MetricController not has SinkMetricData property, So, it should be add to MetricController
https://github.com/apache/inlong/blob/03c2160411d171b7ee4fc00430938cf7aac457d6/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/MetricsCollector.java#L28-L35
https://github.com/apache/inlong/blob/03c2160411d171b7ee4fc00430938cf7aac457d6/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SinkMetricData.java#L45-L60
InLong Sort
This issue is stale because it has been open for 60 days with no activity.
Description
The audit information will report when every records deserializing, So,it will new many MetricsController objects.
https://github.com/apache/inlong/blob/03c2160411d171b7ee4fc00430938cf7aac457d6/inlong-sort/sort-flink/sort-flink-v1.15/sort-connectors/pulsar/src/main/java/org/apache/inlong/sort/pulsar/table/PulsarTableDeserializationSchema.java#L99-L118
And MetricController not has SinkMetricData property, So, it should be add to MetricController
https://github.com/apache/inlong/blob/03c2160411d171b7ee4fc00430938cf7aac457d6/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/MetricsCollector.java#L28-L35
https://github.com/apache/inlong/blob/03c2160411d171b7ee4fc00430938cf7aac457d6/inlong-sort/sort-flink/base/src/main/java/org/apache/inlong/sort/base/metric/SinkMetricData.java#L45-L60
InLong Component
InLong Sort
Are you willing to submit PR?
Code of Conduct