Oneal65 commented on code in PR #5483:
URL: https://github.com/apache/inlong/pull/5483#discussion_r943170425
##########
inlong-sort/sort-connectors/elasticsearch-base/src/main/java/org/apache/inlong/sort/elasticsearch/table/RowElasticsearchSinkFunction.java:
##########
@@ -119,6 +148,7 @@ private void processUpsert(RowData row, RequestIndexer
indexer) {
if (sinkMetricData.getNumBytesOut() != null) {
sinkMetricData.getNumBytesOut().inc(document.length);
}
+ outputMetricForAudit(document.length);
Review Comment:
@thesumery should the rowData of DELETE mode be counted?
--
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]