camunda-external-task-client-java
camunda-external-task-client-java copied to clipboard
Backoff strategy
Hi, When setting an exponential backoff strategy for the client, is there a way to distinguish between a failed connection (for exemple if the engine server is down) and an empty list of retrieved tasks ? I found that the BackoffJobAcquisitionStrategy can suit the needs, but I can't see how to relate it with the client. Thanks for the help
Edit : to be more precise, I would like to have the back off only when failing to connect to the server. If the connection is ok but the list of tasks is empty, then we retry ~immediately.
It looks like this would be addressed by CAM-12816, tentatively scheduled for 7.16.