snazy commented on PR #459:
URL: https://github.com/apache/polaris/pull/459#issuecomment-2498711198

   The example is pretty easy:
   ```
   @Inject MyConfig myConfig;
   ```
   
   Where `MyConfig` would be sth like
   ```
   public interface MyConfig {
      public int someIntValue();
      public OtherThing other();
      public Duration someDuration();
   }
   ```
   
   The rest is just smallrye-config setup and usage stuff - some starter 
information is 
[here](https://quarkus.io/guides/config-reference#default-values). Config 
sources do not have to be static - those can provide dynamic values - but 
that's up to the config source really.
   
   I'd really prefer an approach that leverages functionality that is proven to 
work in the wild for quite some time now, and with Quarkus there are already a 
lot of extensions that do provide "dynamic configuration" - for example [this 
one](https://docs.quarkiverse.io/quarkus-unleash/dev/index.html) or [this 
one](https://docs.quarkiverse.io/quarkus-vault/dev/index.html). Using already 
existing functionality is IMHO more efficient, think of #469, than writing some 
custom configuration framework.


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