public static CompressFormat forName(String name) {
        for (CompressFormat compressFormat : values()) {
            if (compressFormat.getName().equalsIgnoreCase(name)) {
                return compressFormat;
            }
        }
        throw new IllegalArgumentException(String.format("Unsupport CompressionFormat:%s", name));
    }
Get data compress format by name.
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/CompressFormat.java