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


##########
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:
   Thanks for the update. I see you point, and I think we can leave it as debug 
for now and prompt it to the INFO level print frequency if we receive a clear 
request from user. WDTY?



-- 
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