ramesh-muthusamy commented on a change in pull request #10910:
URL: https://github.com/apache/kafka/pull/10910#discussion_r759824560
##########
File path:
connect/runtime/src/main/java/org/apache/kafka/connect/runtime/errors/ErrorHandlingMetrics.java
##########
@@ -138,4 +142,12 @@ public void recordErrorTimestamp() {
public ConnectMetrics.MetricGroup metricGroup() {
return metricGroup;
}
+
+ /**
+ * Close the task Error metrics group when the task is closed
+ */
+ public void closeTaskErrorMetricGroup() {
Review comment:
good idea, I will incorporate the recommendation
--
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]