Replies: 1 comment
-
In the Agroal library, the As far as I know, at the moment there is no mechanism in Quarkus to flush the pool but if you can somehow cast/unwrap a |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
At my company, we have a project where we use Agroal for managing the connection pool. We have a multitenant architecture where the credentials for each tenant are stored in another vault.
Occasionally, we might move the database to a new server, and when we do that the existing connection to the tenant in the connection pool won't work. The issue we are facing is how to close the existing connection to a tenant when the existing connection has become obsolete and create a new connection using the updated parameters in the vault.
What could be the cleanest way to close the existing connection and recreate the connection using the updated parameters in the vault?
Beta Was this translation helpful? Give feedback.
All reactions