Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

R2DBC doesn't support for Multiple Host based connection pool #169

Open
rajeev-jha1988 opened this issue Feb 12, 2021 · 5 comments
Open

Comments

@rajeev-jha1988
Copy link

rajeev-jha1988 commented Feb 12, 2021

Currently, R2DBC don't provide the support for the connection pool with a read replica URL. Its throwing unknown host exception.
java.net.UnknownHostException: failed to resolve 'host1:3306,replica1:3306' after 2 queries .
Below is the Link for Stack over flow
https://stackoverflow.com/questions/66172770/spring-data-read-replica-setting-for-r2dbc

@rajeev-jha1988 rajeev-jha1988 changed the title R2DBC support for Read replica based connection pool R2DBC doesn't support for Read replica based connection pool Feb 12, 2021
@rajeev-jha1988 rajeev-jha1988 changed the title R2DBC doesn't support for Read replica based connection pool R2DBC doesn't support for Multiple Host based connection pool Feb 19, 2021
@mirromutth
Copy link
Owner

Hi there, apologies for the late reply.

Currently, this would not be a driver issue. R2DBC was using r2dbc-pool for pooling, and the driver implementation would not consider about connection pool.

If this problem still bothers you, could you please create a ticket in the r2dbc pool issues?

@suresh0087
Copy link

r2dbc Pool is saying this should be addressed by driver project as per below
r2dbc/r2dbc-pool#169

@suresh0087
Copy link

Hi @mirromutth,

is R2DBC is supporting for mutliple hosts currently ?

@suresh0087
Copy link

suresh0087 commented Jun 30, 2022

Hi @mirromutth ,

could you please help on supporting multiple hosts for r2dbc

@sayanroy7
Copy link

@mirromutth Are you actively maintaining this project? There seems to be no response on the open issue! Imho, this is a very basic need to consider using this driver.

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

No branches or pull requests

4 participants