liuml07 commented on code in PR #106:
URL: 
https://github.com/apache/flink-connector-elasticsearch/pull/106#discussion_r1626913771


##########
flink-connector-elasticsearch8/src/main/java/org/apache/flink/connector/elasticsearch/sink/Elasticsearch8AsyncWriter.java:
##########
@@ -102,13 +103,15 @@ public Elasticsearch8AsyncWriter(
         final SinkWriterMetricGroup metricGroup = context.metricGroup();
         checkNotNull(metricGroup);
 
+        this.numRecordsSendCounter = metricGroup.getNumRecordsSendCounter();
         this.numRecordsOutErrorsCounter = 
metricGroup.getNumRecordsOutErrorsCounter();
     }
 
     @Override
     protected void submitRequestEntries(
             List<Operation> requestEntries, Consumer<List<Operation>> 
requestResult) {
-        LOG.debug("submitRequestEntries with {} items", requestEntries.size());
+        LOG.info("submitRequestEntries with {} items", requestEntries.size());

Review Comment:
   I added a new commit to illustrate the latter idea. I can switch to DEBUG if 
you think it's overkill or not necessary.



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to