In this video, I have explained the retry for API calls in the microservice. This design pattern is used for making API calls in case of failure. In case of failed response retry can be done using @Retryable and @EnableRetry annotation of spring. The time difference can be provided in the value part of @Backoff annotation. Using @recover we can provide the default response after multiple failures with the retry mechanism.
Top Playlists:
Design Microservices : • Building Microservices | Inter-Servic...
DevOps Tutorials : • Spring Boot Docker Example | Spring B...
Spring Cloud Tutorials : • Spring Cloud Ribbon Eureka | Eureka R...
RabbitMQ Tutorials : • RabbitMQ in 5 minutes
Quick Revision - Java (Interview Questions) : • Create A Custom Exception
Quick Revision - Spring (Interview Questions) : • Transaction Management In Spring : An...
Spring Boot Tutorials : • Inject Prototype Bean In Singleton | ...
Multithreading In Java : • Building Microservices | Inter-Servic...
Java 8 Multithreading Complete Tutorial : • CompletableFuture In Java8 (runAsync)
ExecutorService Java | Complete Course : • ExecutorService 01 | Java ExecutorSer...
QuickTimers : • Maintain Caching | Cache in Spring | ...