I would like to know how to handle retries for Camunda 8 workers?
In my scenario my worker calls external endpoint and it can be unavaliable. So I expect that my worker can try to access the endpoint let’s say in 30 seconds again and repeat this operation 2 times. After that it should fails with the incident in Oeprate.
That is possible to do using native Java code (as my worker implemented in Java using quarkus-zeebe client) but any suggestions to use Camunda tools like Retries in Task defenition on diagram or etc?
Because the main idea is to see in Operate that worker failed with the call and try it one more time. If I do retry behaviour using native Java code the worker will just stucked on execution and Operate will not show the correct current status of it so I’d like to avoid such things.