Gain a Splash of New Skills - Coursera+ Annual Just ₹7,999
Get 50% Off Udacity Nanodegrees — Code CC50
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