How does an automatic task restart work?

Hello. I have enabled automatic restart for the connectors in Lenses. How does this work?

When you create an alert for connectors in the alert rules within apps and set the number of autorestarts, Lenses will operate as follows:

  • Lenses monitors if there is a task failure.
  • If a task fails, Lenses restarts it.
  • If it restarts correctly, the task’s attempt counter is reset.
  • If the restart does not occur, the attempt counter is incremented, waits for the grace period, and attempts to restart the task again if it still remains in a failed state. Restart attempts will continue until the attempt limit is reached.

Additionally, it is necessary to check your connect cluster to ensure it has the necessary resources to function correctly.