File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
runtime/service/src/main/java/org/apache/polaris/service/quarkus/config Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,7 @@ public UserSecretsManagerFactory userSecretsManagerFactory(
177177
178178 @ Produces
179179 @ Singleton
180- @ Identifier ("http-client-s3 " )
180+ @ Identifier ("aws-sdk- http-client" )
181181 public SdkHttpClient sdkHttpClient (S3AccessConfig config ) {
182182 ApacheHttpClient .Builder httpClient = ApacheHttpClient .builder ();
183183 config .maxHttpConnections ().ifPresent (httpClient ::maxConnections );
@@ -190,14 +190,15 @@ public SdkHttpClient sdkHttpClient(S3AccessConfig config) {
190190 return httpClient .build ();
191191 }
192192
193- public void closeSdkHttpClient (@ Disposes @ Identifier ("http-client-s3" ) SdkHttpClient client ) {
193+ public void closeSdkHttpClient (
194+ @ Disposes @ Identifier ("aws-sdk-http-client" ) SdkHttpClient client ) {
194195 client .close ();
195196 }
196197
197198 @ Produces
198199 @ ApplicationScoped
199200 public StsClientsPool stsClientsPool (
200- @ Identifier ("http-client-s3 " ) SdkHttpClient httpClient ,
201+ @ Identifier ("aws-sdk- http-client" ) SdkHttpClient httpClient ,
201202 S3AccessConfig config ,
202203 MeterRegistry meterRegistry ) {
203204 return new StsClientsPool (config , httpClient , meterRegistry );
You can’t perform that action at this time.
0 commit comments