You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Randall Hauch (Jira)" <ji...@apache.org> on 2021/07/21 17:17:00 UTC

[jira] [Commented] (KAFKA-9887) failed-task-count JMX metric not updated if task fails during startup

    [ https://issues.apache.org/jira/browse/KAFKA-9887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17385005#comment-17385005 ] 

Randall Hauch commented on KAFKA-9887:
--------------------------------------

Unfortunately, the 3.0 code freeze was two weeks ago, so I will create a new issue as a blocker for 3.0.1 to backport this fix to the `3.0` branch after the 3.0.0 release is complete, and will like to this issue.

> 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.0, 2.5.0, 2.4.1
>            Reporter: Chris Egerton
>            Assignee: Michael Carter
>            Priority: Major
>             Fix For: 3.1.0, 2.7.2, 2.8.1
>
>
> 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)