Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: flavor for R2DBC async drivers (instead of JDBC) #205

Open
guss77 opened this issue May 25, 2022 · 1 comment
Open

Feature request: flavor for R2DBC async drivers (instead of JDBC) #205

guss77 opened this issue May 25, 2022 · 1 comment

Comments

@guss77
Copy link
Contributor

guss77 commented May 25, 2022

It would be great if there would be a version of vertx-jooq that uses an R2DBC API as the underlying implementation, that can be fully async and standardized, instead of using a blocking thread that runs JDBC operations, or using a custom third-party driver that isn't supported upstream (in the "reactive" flavor).

The R2DBC API - while only recently finalized a 1.0 specification - is promising to be a standard target for driver developers (unlike the vertx-sql-client which is Vert.x only and relies on a limited pool of developers) an already has buy-in from Google (CloudSpanner), Oracle and MariaDB (other implementations for widely used database servers, such as Postgres and MySQL are available from third-parties, which I chalk up to have about the same stability as `vertx-sql-client): https://r2dbc.io/drivers/

jOOQ also already has builtin support for R2DBC since at least 3.15.

I'm not sure what is the uplift cost here, but I think it will be a very useful and popular addition.

@jklingsporn
Copy link
Owner

Hi @guss77,
I tend to say this is out of scope of this project. There have been discussions about a r2dbc wrapper for vertx which didn't result into an implementation (such as r2dbc-vertx). Apparently the vertx-folks don't want to implement this API and nobody else yet converted the draft into a working module.
What do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants