For complete understanding on how we can make parallel calls using RestTemplate and CompletableFuture in case of Spring Boot application you can check out our blog.
Blog Link: Spring Boot Parallel Calls with RestTemplate and CompletableFuture
A simple Spring Boot app showcasing how to make parallel API calls using RestTemplate and CompletableFuture, which can also be used to implement the scatter-gather design pattern.