singhpk234 commented on code in PR #17914:
URL: https://github.com/apache/iceberg/pull/17914#discussion_r4545654548


##########
aws/src/main/java/org/apache/iceberg/aws/s3/signer/S3V4RestSignerClient.java:
##########
@@ -279,7 +281,7 @@ public SdkHttpFullRequest sign(
             .build();
 
     Key cacheKey = Key.from(remoteSigningRequest);
-    SignedComponent cachedSignedComponent = 
SIGNED_COMPONENT_CACHE.getIfPresent(cacheKey);
+    SignedComponent cachedSignedComponent = 
signedComponentCache().getIfPresent(cacheKey);

Review Comment:
   wouldn't this create a cache obj per sign request? 
   
   i think what we need to is just make the `token` which would be used as 
bearer or `client:secret` as part of the cache key from the property 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to