Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-12816

ETC should not trigger exp. backoff strategy for empty but successful requests

XMLWordPrintable

      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):

       

        This is the controller panel for Smart Panels app

              tassilo.weidner Tassilo Weidner
              andre.bappert Andre
              Tassilo Weidner Tassilo Weidner
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: