You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though this design is good and has its use cases it would be great if the behaviour was configurable. Trying a N retries first before moving on to the "ERROR" step would be an ideal setup for circuit breaker pattern. E.g. retry 3 times and if all fail then sleep for 5 sec before retrying again.
The text was updated successfully, but these errors were encountered:
mikub
changed the title
Step retries should take precendence over triggering :next step defined on "ERROR" condition
Step retries should take precedence over triggering :next step defined on "ERROR" condition
Dec 13, 2021
Currently retries are performed if a step throws an exception and there is no next step with "ERROR" condition: https://github.com/mikub/titanoboa/blob/cluster/src/clj/titanoboa/processor.clj#L577
Though this design is good and has its use cases it would be great if the behaviour was configurable. Trying a N retries first before moving on to the "ERROR" step would be an ideal setup for
circuit breaker
pattern. E.g. retry 3 times and if all fail then sleep for 5 sec before retrying again.The text was updated successfully, but these errors were encountered: