Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Spring Boot 4's Built-in Resilience Features - Say Goodbye to External Dependencies

Dan Vega via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement resilience patterns in Spring Framework 7 and Spring Boot 4 through this hands-on tutorial that builds QuickBytes, a food delivery service demonstrating built-in resilience features without external dependencies. Master the @Retryable annotation for automatic retry logic with custom backoff strategies, explore RetryTemplate for fine-grained control over retry behavior with custom listeners, and implement @ConcurrencyLimit to prevent API overload by limiting concurrent method executions. Discover Jackson 3 integration using the new JsonMapper for efficient data processing while handling real-world scenarios including flaky network calls, API failures, and system resilience patterns. Build data models and JSON files, create a DataLoader with Jackson 3, simulate restaurant service errors, add retry listeners for observability, and test implementations with thread pools. Configure resilient methods using @EnableResilientMethods and apply best practices for making Spring applications more robust and fault-tolerant in production environments.

Syllabus

00:00 Introduction & What's New
01:30 Project Setup with Spring Initializr
03:15 Creating Data Models & JSON Files
05:45 Building the DataLoader with Jackson 3
08:30 Implementing @Retryable Annotation
12:00 Restaurant Service & Error Simulation
15:30 Deep Dive into RetryTemplate
19:00 Adding Retry Listeners for Observability
22:45 @ConcurrencyLimit Implementation
26:00 Testing with Thread Pools
28:30 Final Demo & Best Practices

Taught by

Dan Vega

Reviews

Start your review of Spring Boot 4's Built-in Resilience Features - Say Goodbye to External Dependencies

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.