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
Riptide uses Failsafe underneath to manage resiliency flows, and Failsafe supports custom thread pool executors. For more details, refer to the [riptide-failsafe](https://github.com/zalando/riptide/tree/main/riptide-failsafe#custom-executor) documentation. To configure a custom thread pool executor for retry, circuit breaker, backup requests, and timeout features, follow the configuration steps below.
664
+
```yaml
665
+
retry:
666
+
enabled: true
667
+
fixed-delay: 50 milliseconds
668
+
max-retries: 5
669
+
max-duration: 2 seconds
670
+
jitter: 25 milliseconds
671
+
threads:
672
+
max-size: 10
673
+
min-size: 2
674
+
enabled: true
675
+
keep-alive: 5 minutes
676
+
queue-size: 10
677
+
circuit-breaker:
678
+
enabled: true
679
+
failure-threshold: 3 out of 5
680
+
failure-rate-threshold: 3 out of 5 in 5 seconds
681
+
delay: 30 seconds
682
+
success-threshold: 5 out of 5
683
+
threads:
684
+
max-size: 10
685
+
min-size: 2
686
+
enabled: true
687
+
keep-alive: 5 minutes
688
+
queue-size: 10
689
+
backup-request:
690
+
enabled: true
691
+
delay: 75 milliseconds
692
+
threads:
693
+
max-size: 10
694
+
min-size: 2
695
+
enabled: true
696
+
keep-alive: 5 minutes
697
+
queue-size: 10
698
+
timeouts:
699
+
enabled: true
700
+
global: 500 milliseconds
701
+
threads:
702
+
max-size: 10
703
+
min-size: 2
704
+
enabled: true
705
+
keep-alive: 5 minutes
706
+
queue-size: 10
707
+
```
629
708
630
709
In case you need more than one custom plugin, please use `Plugin.composite(Plugin...)`.
Copy file name to clipboardExpand all lines: riptide-spring-boot-autoconfigure/src/main/java/org/zalando/riptide/autoconfigure/DefaultRiptideRegistrar.java
0 commit comments