Details
-
Feature Request
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Description
User Story (Required on creation):
When using external tasks with long polling, the long polling mechanism already ensures throttling of requests when there are no tasks (since the fetch and lock request only returns after the configured long polling interval). In that case, the Java external task client should perform no additional backoff so that the execution of new external tasks is not delayed further than necessary.
Functional Requirements (Required before implementation):
- There is a built-in backoff strategy that can be configured with a timeout. With this strategy, backoff is only performed if a request fails or if the result is empty and the response time is less than the configured value (indicating that long polling does not work correctly on server side).
Technical Requirements (Required before implementation):
- Backoff strategy implementations have access to the execution time of the fetch and lock request and to the failure of the request if any (minimal: a boolean flag; better: the exception that was raised)
Limitations of Scope (Optional):
Hints (Optional):