Skip to content

Commit c61861b

Browse files
committed
review: aws-sdk-http-client
1 parent ab7b8e6 commit c61861b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

runtime/service/src/main/java/org/apache/polaris/service/quarkus/config/QuarkusProducers.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)