You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(catalog): avoid static global credentials provider (#2684) (#2686)
* feat(catalog): Avoid static global credentials provider
Refactors `CredentialProviderHolder` to prevent "Connection Pool Shutdown"
errors by creating a new provider instance for each catalog.
Previously, a single static `AwsCredentialsProvider` was shared globally.
If this provider was closed, it would affect all subsequent operations.
By creating a new provider on each `create()` call from Iceberg, this
change removes the global singleton and isolates provider instances.
Fixes#2680
* Update core/src/main/java/kafka/automq/table/CredentialProviderHolder.java
* fix(credentials): update DefaultCredentialsProvider instantiation to use builder pattern
---------
Signed-off-by: Gezi-lzq <[email protected]>
Co-authored-by: Copilot <[email protected]>
0 commit comments