Skip to content
Open
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
bdd6d9d
Configure backoffs from application settings
reactivestudio Nov 8, 2026
b4a3312
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 8, 2026
3362251
Depend on the Spring module of backoff
reactivestudio Nov 8, 2026
db030e6
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 8, 2026
18ac90d
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
aad15d7
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
8dc40fe
Register backoffs through registrars in the auto-configuration
reactivestudio Nov 9, 2026
1473225
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
c6172a6
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
1bdab69
Register backoff beans after every registrar
reactivestudio Nov 9, 2026
9885960
Customize the backoff registry through beans
reactivestudio Nov 9, 2026
fd5ced3
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
1ca8bce
Cover backoff beans replacing the settings
reactivestudio Nov 9, 2026
d4fee59
Apply settings and beans through the standard customizer
reactivestudio Nov 9, 2026
59a8b4d
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
e6faefb
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
2b662e5
Use the default backoff name in the auto-configuration tests
reactivestudio Nov 9, 2026
520c952
Fill the backoff registry in the auto-configuration
reactivestudio Nov 9, 2026
8d74ef0
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
93dd9a4
Name the validation of the default backoff
reactivestudio Nov 9, 2026
6ad4632
Pick backoff algorithms from factory beans in the auto-configuration
reactivestudio Nov 9, 2026
740c103
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
251d17e
Say that the name of the default backoff is reserved
reactivestudio Nov 9, 2026
c6c4e0b
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 9, 2026
e2b5d5e
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
4817c16
Fill the backoff registry through the properties registrar
reactivestudio Nov 10, 2026
9c24cbd
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
8e92384
Bind backoff settings by the key of their type in the auto-configuration
reactivestudio Nov 10, 2026
421e221
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
25b077d
Put the misspelled field under its type in the auto-configuration test
reactivestudio Nov 10, 2026
3ef32e7
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
1dd0b7f
Describe relaxed backoff names in the settings guide
reactivestudio Nov 10, 2026
c91d1cc
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
78d0fb9
Wrap the start failures paragraph of the settings guide
reactivestudio Nov 10, 2026
935a788
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
238d2c1
Name the backoff factory beans of the auto-configuration by their type
reactivestudio Nov 10, 2026
bd771ef
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
2237a7a
Bind backoff settings through properties in the auto-configuration
reactivestudio Nov 10, 2026
0f3999c
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
1ba224f
Merge branch 'resilience-backoff-spring-boot' into resilience-backoff…
reactivestudio Nov 10, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Describe relaxed backoff names in the settings guide
  • Loading branch information
reactivestudio committed Nov 10, 2026
commit 1dd0b7fd00aeba1685aaac1af9d5cddb8de64f73
8 changes: 6 additions & 2 deletions architecture/pattern/resilience/backoff/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ of `default` with its fields; with the same type it takes the fields it leaves o
type it keeps the defaults of that type. `jitter` comes from `default` unless the instance sets it, and
`jitter: 0` turns it off.

Names follow relaxed binding. An environment variable drops the hyphens of a name, so
`SEMANTIC_RESILIENCE_BACKOFF_INSTANCES_ORDEREVENTS_FIXED_DELAY` sets `order-events`; the instance keeps the name
written in `application.yml`.

To add an algorithm, declare a `BackoffFactory` bean with its own `type` and config class:

```kotlin
Expand All @@ -105,5 +109,5 @@ named `default` replaces the default block. To change the registry from code, de
`names`, `register` and `replace`. Customizers run in `@Order`.

Wrong settings stop the application at start with the name of the instance, even when a bean replaces it: an
unknown type or field, two types in one block, a value that cannot be converted or that the `Backoff` being
built refuses. An instance named `default` and two factories of one `type` stop it as well.
unknown type or field, two types in one block, a value where a block is expected, a value that cannot be
converted or that the `Backoff` being built refuses. An instance named `default` and two factories of one `type` stop it as well.