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.
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 breakerpattern. E.g. retry 3 times and if all fail then sleep for 5 sec before retrying again.