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/06/01 18:39:00 UTC

[jira] [Commented] (KAFKA-4793) Kafka Connect: POST /connectors/(string: name)/restart doesn't start failed tasks

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

Randall Hauch commented on KAFKA-4793:
--------------------------------------

I'm picking this up, and will add a KIP that proposes adding query parameters to the existing `/connectors/{name}/restart` API. One query parameter will specify whether to also include tasks when determining the instances to restart, and another query parameter that will specify whether to restart only failed instances.

I will post the link to the KIP here as soon as I've created it.

> Kafka Connect: POST /connectors/(string: name)/restart doesn't start failed tasks
> ---------------------------------------------------------------------------------
>
>                 Key: KAFKA-4793
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4793
>             Project: Kafka
>          Issue Type: Improvement
>          Components: KafkaConnect
>            Reporter: Gwen Shapira
>            Assignee: Randall Hauch
>            Priority: Major
>              Labels: needs-kip
>
> Sometimes tasks stop due to repeated failures. Users will want to restart the connector and have it retry after fixing an issue. 
> We expected "POST /connectors/(string: name)/restart" to cause retry of failed tasks, but this doesn't appear to be the case.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)