private TaskResult getTestConfig(String testDir, int normalTaskId, int retryTaskId, int state) {
        List<DataConfig> configs = new ArrayList<>();
        String normalPattern = testDir + "YYYY/YYYYMMDDhhmm_2.log_[0-9]+";
        String retryPattern = testDir + "YYYY/YYYYMMDD_1.log_[0-9]+";
        configs.add(getTestDataConfig(normalTaskId, normalPattern, false, "202307100000", "202307220000",
                CycleUnitType.MINUTE, state));
        configs.add(
                getTestDataConfig(retryTaskId, retryPattern, true, "20230710", "20230722", CycleUnitType.DAY, state));
        return TaskResult.builder().dataConfigs(configs).build();
    }
Thread for profile fetcher.

@return runnable profile.
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/fetcher/ManagerFetcher.java