public ModuleConfig getModule(Integer moduleId) {
        return currentModules.get(moduleId);
    }
module manager, deal with module add, delete and modify
inlong-agent/agent-installer/src/main/java/org/apache/inlong/agent/installer/ModuleManager.java