how to recover failed task?

i use tranquility-kafka.
two middle managers.

when task failed. how can i resume the task?

i set the restoreTasksOnRestart=ok.

but it does not recover failed task.

restoreTasksOnRestart is for resuming tasks after a graceful shutdown to support things like rolling updates; failed tasks cannot be restored and new tasks would need to be created.

Why are your tasks failing?

(Also, the flag would be restoreTasksOnRestart=true, not restoreTasksOnRestart=ok)