Add reset to the ConnectorRegistry #301
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Feature Description
An application should use the public Java API to reset the connector registry.
ConnectorRegistry.reset()
- Stops all threads, clears all config, future attempts to connect will start a new Connector.An application would use
reset()
when it needs to reload its configuration. This would gracefully close all Connector instances, causing them to reload on the next connection attempt.This is porting GoogleCloudPlatform/cloud-sql-jdbc-socket-factory#1688 to alloydb-java-connector.
The text was updated successfully, but these errors were encountered: