# Kafka connect sink tasks not restarting

**URL:** <https://forum.confluent.io/t/kafka-connect-sink-tasks-not-restarting/13142>\
**Category:** Kafka Connect\
**Created:** [14 November 2024 20:28 UTC](https://forum.confluent.io/t/kafka-connect-sink-tasks-not-restarting/13142 "2024-11-14T20:28:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishabh08jain](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@rishabh08jain](https://forum.confluent.io/u/rishabh08jain)\
**Post date:** [14 November 2024 20:28 UTC](https://forum.confluent.io/t/kafka-connect-sink-tasks-not-restarting/13142/1 "2024-11-14T20:28:16Z")

</div>

I have setup a JDBC debezium sink connector.  
Kafka connect version -6.0.0

1. My sink database failover happened. Due to which all the tasks are in Failed state now.
2. To restart the tasks again the i tried stop api and then restart but stop api is giving 404 .  
In restart api passed the two params as  
includeTasks=true & onlyFailed=true but it is giving 204 status code  
Checked the tasks status too it is still in Failed state.

Since number of tasks are more than 50  
Manually restarting the individual tasks is not feasible.

Is there a way by which I can restart the tasks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/confluentcommunity/original/1X/c49438c90c9df282e9996fdf6971be890c71b65a.svg) [@system](https://forum.confluent.io/u/system)\
**Post date:** [14 December 2024 20:28 UTC](https://forum.confluent.io/t/kafka-connect-sink-tasks-not-restarting/13142/2 "2024-12-14T20:28:47Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
