You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/08/09 12:12:20 UTC
[GitHub] [inlong] Oneal65 commented on a diff in pull request #5374: [INLONG-5205][Sort] Add reporting metrics for Elasticsearch 6 connector
Oneal65 commented on code in PR #5374:
URL: https://github.com/apache/inlong/pull/5374#discussion_r941261464
##########
inlong-sort/sort-connectors/elasticsearch-base/src/main/java/org/apache/inlong/sort/elasticsearch/ElasticsearchSinkBase.java:
##########
@@ -263,8 +265,23 @@ public void disableFlushOnCheckpoint() {
@Override
public void open(Configuration parameters) throws Exception {
client = callBridge.createClient(userConfig);
+ metricData = new MetricData(getRuntimeContext().getMetricGroup());
Review Comment:
DONE
--
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-unsubscribe@inlong.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org