-
Notifications
You must be signed in to change notification settings - Fork 41.2k
Add customizers to R2DBC ProxyConnectionFactory / ConnectionFactoryDecorator #40010
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
Comments
Thanks for the suggestion @pauljohe-dnb. We generally like the idea of a customizer, although having one that accepts two parameters isn't that common. @ttddyy Is there anything we could get changed in |
@philwebb Yeah, usually builder doesn't have getters to expose the inside objects, but I do see a value here; so, I can add getters to the builder. |
@philwebb I have released |
Uh oh!
There was an error while loading. Please reload this page.
Would it be possible to make it easy to apply customizers to R2DBC observability?
For example, consider this fuctional interface:
The current listener
org.springframework.boot.actuate.autoconfigure.r2dbc.R2dbcObservationAutoConfiguration
could be re-written:With this pattern, it is very easy for other applications to apply their own listeners and customizations to the
ProxyConnectionFactory
initalization.The text was updated successfully, but these errors were encountered: