Back to archive
#architecture#software-engineering

Architecture / Coding

with new Spring Boot 4.0.0, don't need to use resilience4j,

@EnableResilientMethods
@Retryable(  
maxAttempts = 3,  
backoff = @Retryable.Backoff(delay = 2000, multiplier = 2.0)  
)  
@ConcurrencyLimit(value = 2)

however why they reinventing the wheel? Resilience4j has all of this AND circuit breakers

Dependency Cooldowns

index