File tree Expand file tree Collapse file tree 2 files changed +51
-35
lines changed
resilience4j/springboot-resilience4j/src/main/resources Expand file tree Collapse file tree 2 files changed +51
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ resilience4j :
2
+ retry :
3
+ instances :
4
+
5
+ # Retry object used in RetryingService.basicExample()
6
+ basic :
7
+ maxRetryAttempts : 3
8
+ waitDuration : 2s
9
+
10
+ # Retry object used in RetryingService.fallbackExample()
11
+ fallbackExample :
12
+ maxRetryAttempts : 3
13
+ waitDuration : 2s
14
+
15
+ # Retry object used in RetryingService.intervalFunctionExponentialExample()
16
+ intervalFunctionExponentialExample :
17
+ enableExponentialBackoff : true
18
+ exponentialBackoffMultiplier : 2
19
+ maxRetryAttempts : 6
20
+ waitDuration : 1s
21
+
22
+ # Retry object used in RetryingService.intervalFunctionRandomExample()
23
+ intervalFunctionRandomExample :
24
+ enableRandomizedWait : true
25
+ maxRetryAttempts : 3
26
+ randomizedWaitFactor : 0.5
27
+ waitDuration : 2s
28
+
29
+ # Retry object used in RetryingService.loggedRetryExample()
30
+ loggedRetryExample :
31
+ maxRetryAttempts : 3
32
+ waitDuration : 2s
33
+
34
+ # Retry object used in RetryingService.predicateExample()
35
+ predicateExample :
36
+ maxRetryAttempts : 3
37
+ resultPredicate : io.reflectoring.resilience4j.springboot.predicates.ConditionalRetryPredicate
38
+ waitDuration : 3s
39
+
40
+ # Retry object used in RetryingService.basicExample_serviceThrowingException()
41
+ throwingException :
42
+ maxRetryAttempts : 3
43
+ retryExceptions :
44
+ - java.lang.Exception
45
+ waitDuration : 2s
46
+
47
+ management :
48
+ endpoints :
49
+ web :
50
+ exposure :
51
+ include : ' *'
You can’t perform that action at this time.
0 commit comments