zzzming commented on code in PR #20498:
URL: https://github.com/apache/pulsar/pull/20498#discussion_r1223762133
##########
pulsar-io/elastic-search/src/main/java/org/apache/pulsar/io/elasticsearch/ElasticSearchClient.java:
##########
@@ -96,6 +110,12 @@ public void afterBulk(long executionId,
List<BulkProcessor.BulkOperationRequest>
this.client = retry(() -> RestClientFactory.createClient(config,
bulkListener), -1, "client creation");
}
+ public void incrementCounter(String counter, double value) {
Review Comment:
Move the function to the metrics class as you suggested
--
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]