我对反应式弹簧堆栈非常陌生,目前正在探索R2DBC.
Could you explain me what are the benefits of using R2dbcRepository over wrapping blocking JpaRepository into Mono/Flux?
Let me bring some example of that:
val producer: Mono<BookEntity> = booksReactiveRepository.findById(id)
Run Code Online (Sandbox Code Playgroud)
vs
val producer: Mono<BookEntity> = Mono.fromSupplier { booksBlockingRepository.findById(id) }
Run Code Online (Sandbox Code Playgroud)
Is there any conceptual difference on execution?