private void updateModuleConfig(ModuleConfig module) {
        currentModules.put(module.getId(), module);
        saveToLocalFile(confPath);
    }
Thread for core thread.

@return runnable profile.
inlong-agent/agent-installer/src/main/java/org/apache/inlong/agent/installer/ModuleManager.java