-
If we have an existing connection pool, that needs to be refreshed with new credentials, (assume old credentials are still valid since we want a graceful switchover) how can I refresh creds of an existing connection pool? I'm thinking I should be setting l should also set What other well-established strategies is the community already using? Are there better steps for my use-case |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
or one more strategy would be to have some kind of notification mechanism where if creds are refreshed,
|
Beta Was this translation helpful? Give feedback.
-
I'm not sure about your exact use case, but As far as closing old connections, you probably want to call |
Beta Was this translation helpful? Give feedback.
I'm not sure about your exact use case, but
BeforeConnect
is the correct place to mutate the connection parameters when making a connection.As far as closing old connections, you probably want to call
Pool.Reset
.