POC to verify some Feign behaviours like:
- Parallel Execution
- Feign timeout requests blocking others
Spring Boot Web Application with 1 endpoints that accepts a delay parameter that informs how much time should delay to answer response.
Spring Boot Web Application that make requests to Feign Server
Run Feign-Server with the following gradle command:
cd feignpocserver; gradle bootRun
Run Feign-Client with the following gradle command:
cd feignpocclient; gradle bootRun
-
Parallel Execution
Despite I'm using Autowired and Singleton FeignClient, each Thread did it request in parallel without problem.
-
Feign timeout requests blocking others
Request were made non-blocking.