@Override
    public ConfigReader generateConfigReader(String namespace, String name) {
        for (Extension extension : this.rootConfiguration.getExtensions()) {
            ExtensionChildConfiguration childConfiguration = extension.getExtension();
            if (childConfiguration.getNamespace().equals(namespace) &&
                    childConfiguration.getName().equals(name)) {
                return new YAMLConfigReader(childConfiguration.getProperties());
            }
        }
        if (LOG.isDebugEnabled()) {
            LOG.debug("Could not find a matching configuration for name: " + name + "and namespace: " +
                    namespace + "!");
        }
        return new YAMLConfigReader(new HashMap<>());
    }
Initialises YAML Config Manager by parsing the YAML file

@throws YAMLConfigManagerException Exception is thrown if there are issues in processing thr yaml file
modules/siddhi-core/src/main/java/io/siddhi/core/util/config/YAMLConfigManager.java