You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by GitBox <gi...@apache.org> on 2022/12/30 19:51:30 UTC

[GitHub] [hop] Ar-Kan opened a new issue, #2118: [Feature Request]: retry capabilities in transforms that do web requests

Ar-Kan opened a new issue, #2118:
URL: https://github.com/apache/hop/issues/2118

   ### What would you like to happen?
   
   There is, currently, no easy way to handle timeouts and http error codes on HTTP and Rest transforms.
   
   We know that, sometimes, these things happen, so we must create a treatment, if not, we risk to error out ours pipelines.
   
   Some configuration fields that this feature may have:
   
   **Type:** checkbox
   **Text:** Retry on timeout
   **Description:** if checked, the transform will retry requests that got a timeout error.
   
   **Type:** checkbox
   **Text:** Raise error if max retry count is reached
   **Description:** if checked, after max-retry-count requests are made, and still needs to retry, a error is raised, to stop the pipeline execution.
   
   **Type:** input
   **Text:** Max retry count (defaults to 2)
   **Description:** maximum number of retrys a particular request will have.
   
   **Type:** input
   **Text:** Retry on HTTP code
   **Description:** if checked, the request will be redo if returns a HTTP code that fits inside the "HTTP codes to retry" range.
   
   **Type:** input
   **Text:** HTTP codes to retry
   **Description:** a range-like input, for example, if the value `400-500` is set, the transform will retry requests that returns HTTP codes between 400 and 500 (inclusive). May allow a list of values, like `402,403,405-500`.
   
   And at last, but not least, the retrys show be made with a delay between them, something like $2^n$ seconds, where $n$ is the current retry number, so we dont break the service.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: Transforms


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Feature Request]: retry capabilities in transforms that do web requests (hop)

Posted by "harrisward (via GitHub)" <gi...@apache.org>.
harrisward commented on issue #2118:
URL: https://github.com/apache/hop/issues/2118#issuecomment-1970892928

   This would certainly be helpful. We are facing the same kinds of issues with a rest request holding on forever due to the API not timing out itself


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [hop] hansva commented on issue #2118: [Feature Request]: retry capabilities in transforms that do web requests

Posted by GitBox <gi...@apache.org>.
hansva commented on issue #2118:
URL: https://github.com/apache/hop/issues/2118#issuecomment-1368431212

   Thanks for the great ticket!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org