private void deleteModule(ModuleConfig module) {
        LOGGER.info("delete module {}({}) start", module.getId(), module.getName());
        stopModule(module);
        uninstallModule(module);
        deleteAndSaveModuleConfig(module);
        LOGGER.info("delete module {}({}) end", module.getId(), module.getName());
    }
Thread for core thread.

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