gong commented on PR #6814: URL: https://github.com/apache/inlong/pull/6814#issuecomment-1345460999
`https://github.com/apache/inlong/blob/master/inlong-sort/sort-connectors/elasticsearch-base/src/main/java/org/apache/inlong/sort/elasticsearch/table/RowElasticsearchSinkFunction.java` and `https://github.com/apache/inlong/blob/master/inlong-sort/sort-connectors/elasticsearch-base/src/main/java/org/apache/inlong/sort/elasticsearch/ElasticsearchSinkBase.java` will register duplication dirty metric, It will lead metric duplication error when set metric report. So I suggest modify `MetricStateUtils` to add judge null. @EMsnap will update elasticsearch metric computing. -- 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