public String get(String key, String defaultValue) {
        JsonElement value = configStorage.get(key);
        return value == null ? defaultValue : value.getAsString();
    }
get string

@param key key
@param defaultValue default value
@return string
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/conf/AbstractConfiguration.java