Reactive API consumes external api
Solution 1:
It is irrelevant if the external API is blocking or non-blocking, HTTP protocol will be always in the middle. What you should definitely do is use Mono
and Flux
throughout your service. An important thing is that if you are using a database, it should also support the reactive stack so that you can take full advantage of using Spring Webflux.