public static String getUniqId(String prefix, long index) {
        return getUniqId(prefix, "", index);
    }
Get uniq id with prefix and index.

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