michaeljmarshall opened a new pull request, #20901:
URL: https://github.com/apache/pulsar/pull/20901

   PIP: 
   Relates to: #20862 
   
   ### Motivation
   
   The primary motivation is to make it possible to configure Pulsar Connectors 
in a secure, non-plaintext way. See the PIP for background and relevant details.
   
   ### Modifications
   
   * Add `SecretsProvider#interpolateSecretForValue` method with a default that 
maintains the current behavior.
   * Override `interpolateSecretForValue` in the 
`EnvironmentBasedSecretsProvider` so that configuration values formatted as 
`${my-env-var}` will be replaced with the result of 
`System.getEnv("my-env-var")`.
   * Add a configuration to let operators enable configuration interpolation. 
Default is false.
   * Implement a recursive string interpolation method that will replace any 
configuration value that the `interpolateSecretForValue` implementation 
determines ought to be replaced.
   
   ### Verifying this change
   
   Tests are added/modified.
   
   ### Documentation
   
   - [x] `doc-required`
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/michaeljmarshall/pulsar/pull/55


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

Reply via email to