addisonj opened a new pull request #9387:
URL: https://github.com/apache/pulsar/pull/9387


   
   ### Motivation
   
   
   With the refactor of support azure, a regression occured where the AWS
   credentials were fetched once and then used through the entire process.
   
   This is a problem in AWS, where it is commonplace to use credentials
   that expire. 
   
   
   ### Modifications
   
   The AWS credential provider chain takes care of this
   problem, but when intgrating with JClouds, that means we need the
   credential Supplier to return a new set of credentials each time.
   
   Luckily, AWS should intelligently cache this so we aren't thrashing the
   underlying credential mechanisms.
   
   
   ### Verifying this change
   
   This also adds a test to ensure this isn't broken in the future, it does a 
simple validation to ensure that the underlying credentials can change via AWS 
SystemPropertyCredentialProvider
   
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): n
     - The public API: n
     - The schema: n
     - The default values of configurations: n
     - The wire protocol: n
     - The rest endpoints: n
     - The admin cli options: n
     - Anything that affects deployment: n
   
   ### Documentation
   
     - Does this pull request introduce a new feature? n
     - If yes, how is the feature documented?  N/A
   


----------------------------------------------------------------
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.

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


Reply via email to