https://stackoverflow.com/questions/46918303/jdbc-with-webflux-how-to-dispatch-to-container-thread
In Spring WebFlux, you will call reactive libraries that return monos and fluxes and your controllers will return monos and fluxes. Because these return immediately, your controllers will effectively give up their threads and allow Reactor to handle responses asynchronously. It is important to note that only by using reactive libraries can your WebFlux services stay reactive. If you use non-reactive libraries, such as JDBC calls, your code will block and wait for those calls to complete before returning.
Reactive programming with MongoDB
Currently, there aren’t many reactive database libraries, so you may be wondering if it’s practical to write reactive services. The good news is that MongoDB has reactive support and there are a couple of third-party reactive database drivers for MySQL and Postgres. For all other use cases, WebFlux provides a mechanism for executing JDBC calls in a reactive manner, albeit using a secondary thread pool that makes blocking JDBC calls.