gong commented on code in PR #5374:
URL: https://github.com/apache/inlong/pull/5374#discussion_r941076859
##########
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:
metricData can be replace by class of connector-base
--
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]