[
https://issues.apache.org/jira/browse/KAFKA-4793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17117896#comment-17117896
]
Jun Wang edited comment on KAFKA-4793 at 5/27/20, 4:23 PM:
-----------------------------------------------------------
{{Look at the pause endpoint, it pause it's tasks.}}
{noformat}
PUT /connectors/{name}/pause - pause the connector and its tasks, which stops
message processing until the connector is resumed
{noformat}
The existing restart endpoint should restart the tasks as well to be consistent
with pause endpoint.
Suggest fix the existing restart endpoint instead of create a new endpoint, so
that avoid a KIP.
{noformat}
POST /connectors/{name}/restart - restart a connector (typically because it has
failed)
{noformat}
was (Author: wj1918):
{{Look at the pause endpoint, it pause it's tasks.}}
{{}}
{noformat}
PUT /connectors/{name}/pause - pause the connector and its tasks, which stops
message processing until the connector is resumed
{noformat}
The existing restart endpoint should restart the tasks as well to be consistent
with pause endpoint.
Suggest fix the existing restart endpoint instead of create a new endpoint, so
that avoid a KIP.
{noformat}
POST /connectors/{name}/restart - restart a connector (typically because it has
failed)
{noformat}
> 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
> 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)