Chris Egerton created KAFKA-9887: ------------------------------------ Summary: failed-task-count JMX metric not updated if task fails during startup Key: KAFKA-9887 URL: https://issues.apache.org/jira/browse/KAFKA-9887 Project: Kafka Issue Type: Bug Components: KafkaConnect Affects Versions: 2.4.1, 2.5.0, 2.4.0 Reporter: Chris Egerton
If a task fails on startup (specifically, during [this code section|https://github.com/apache/kafka/blob/00a59b392d92b0d6d3a321ef9a53dae4b3a9d030/connect/runtime/src/main/java/org/apache/kafka/connect/runtime/Worker.java#L427-L468]), the {{failed-task-count}} JMX metric is not updated to reflect the task failure, even though the status endpoints in the REST API do report the task as failed. -- This message was sent by Atlassian Jira (v8.3.4#803005)