Implementing Resilience with Micronaut
summary
Micronaut implements resilience for JVM microservices using compile-time proxies for HTTP clients, letting developers set per-client timeouts (default ~10s, example set to 5s), add @Retryable with configurable attempts and backoff, and use a stateful circuit breaker resets after 20s that moves closed→open→half‑open and blocks calls until healthy. Fallbacks attach via a fallback implementation; advice is don't combine retry and circuit breaker because retries multiply behavior. Code is on the conference GitHub.
AI-written summary · about
chapters (7)
- 0:00Resilience with Micronaut
- 1:09Resilience in distributed systems
- 2:54Timeouts in Micronaut HTTP clients
- 6:09Retries for transient failures
- 8:59Circuit breakers for failures
- 12:11Fallbacks for degradation
- 13:38Summary
related talks
52mSkyrocketing Development Of Your Microservices With Micronaut
49mManaging Resiliency in Microservices
48mConoce Micronaut, un framework para microservicios JVM
52mMicroservices with Micronaut
22mMicronaut, the ultra-light JVM framework of the future
58mGood to Great: from Spring Boot to Micronaut
47mIntroduction to Micronaut Lightweight Microservices with Ahead of Time Compilation
45mIntruduction to Micronaut 2.0
