IntermediateFree course

Resilience4j with Spring Boot

Implement fault tolerance and resilience patterns in Spring Boot: retries, circuit breakers and rate limiters.

Every network call you make will fail eventually. The question is whether it fails in a way that degrades one feature, or in a way that exhausts your thread pool and takes the whole service with it.

Resilience4j is the library Spring Boot applications reach for to make that difference. This course covers each of its core patterns in turn, what problem it actually solves, and the configuration mistakes that quietly make it useless.

What you build

A Spring Boot service hardened against the failure modes of its dependencies.

What you learn

  • Add retries without amplifying an outage
  • Use circuit breakers, and configure the thresholds deliberately
  • Apply rate limiters and bulkheads to protect shared resources
  • Set timeouts that actually fire
  • Provide fallbacks that degrade gracefully instead of returning 500s

Before you start

  • Comfortable building Spring Boot services
  • Some experience calling a downstream API

Episodes

The full playlist, straight from YouTube.

Carry on with

Other free courses on the channel.

Intermediate

Spring Boot 4: Full Microservices Course

The latest microservices course, where we build a set of Spring Boot 4 services and a Home Energy Tracker.

  • Spring Boot
  • Microservices