dd-willgan opened a new issue, #10719:
URL: https://github.com/apache/pinot/issues/10719

   The following config works
   
   ```
   # pinot-broker.conf
   pinot.broker.access.control.principals.admin.password=${env:ADMIN_PASSWORD}
   ```
   
   but this one doesn't
   
   ```
   # pinot-controller.conf
   controller.segment.fetcher.auth.token=${env:AUTH_TOKEN}
   ```
   
   The issue is in `PinotConfiguration` class, `String getProperty(String 
name)` calls `CompositeConfiguration.getStringArray` but `String 
getProperty(String name, String defaultValue)` calls 
`CompositeConfiguration.getProperty`. In `CompositeConfiguration` and other 
classes, `getStringArray`, `getString`, etc. interpolate environment variables 
but the generic `getProperty` doesn't.


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