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

Add support for routing connection factory similar to AbstractRoutingDataSource #273

Closed
dharezlak opened this issue Jan 9, 2020 · 3 comments
Labels
status: duplicate A duplicate of another issue

Comments

@dharezlak
Copy link

It would be nice to have a reactive equivalent of the AbstractRoutingDataSource to address scenarios such as multi-tenant databases.

Would it be possible to implement this with currently available configuration plumbing?

@mp911de
Copy link
Member

mp911de commented Jan 10, 2020

That's in place with org.springframework.data.r2dbc.connectionfactory.lookup.AbstractRoutingConnectionFactory. Check out the tests on how to use it.

@mp911de mp911de closed this as completed Jan 10, 2020
@mp911de mp911de added the status: duplicate A duplicate of another issue label Jan 10, 2020
@mp911de
Copy link
Member

mp911de commented Jan 10, 2020

Duplicate of #98.

@mp911de mp911de reopened this Jan 10, 2020
@mp911de mp911de closed this as completed Jan 10, 2020
@matusekma
Copy link

Hi @mp911de ,
could this be documented or mentioned somewhere in the Spring documentation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants