AFAIK, a circuit breaker is a component does not retry an operation that it's going to fail anyway.
Spring boot's @Retryable was not designed to work as a circuit breaker, but as an exponential-backoff retry mechanism.
Hystrix is a circuit breaker library, but unfortunately it's not longer maintained. You can use Resilience4J. It's inspired from Hystrix, but much better.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…