gh-yzou commented on code in PR #1758: URL: https://github.com/apache/polaris/pull/1758#discussion_r2121973282
########## polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfigurationStore.java: ########## @@ -65,6 +76,35 @@ public interface PolarisConfigurationStore { return configValue != null ? configValue : defaultValue; } + /** + * Retrieve the current value for a configuration key for a given realm. May be null if not set. + * + * @param realmContext the realm context + * @param configName the name of the configuration key to check + * @return the current value set for the configuration key for the given realm, or null if not set + * @param <T> the type of the configuration value + */ + default <T> @Nullable T getConfiguration(@Nonnull RealmContext realmContext, String configName) { Review Comment: @dimas-b yes, absolutely. i created an issue here https://github.com/apache/polaris/issues/1775, i will also add this in the comment. That will be my next highest priority on my tasks -- 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: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org