private String getConfigValue(String key, final Properties properties) {
        String value = System.getProperty(key);
        if (value == null) {
            value = System.getenv(key);
        }
        if (value == null) {
            value = properties.getProperty(key);
        }
        return value;
    }
Replaces all placeholders of format {@code ${name}} with the corresponding property from the supplied {@link
Properties}.

@param value      the value containing the placeholders to be replaced
@param properties the {@code Properties} to use for replacement
@return the supplied value with placeholders replaced inline
oap-server/server-library/library-util/src/main/java/org/apache/skywalking/oap/server/library/util/PropertyPlaceholderHelper.java