public static String getUniqId(String prefix, String id, long index) {
        long currentTime = System.currentTimeMillis() / 1000;
        return prefix + currentTime + "_" + id + "_" + index;
    }
Get uniq id with timestamp and index.

@param id job id
@param index job index
@return uniq id
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/AgentUtils.java