!6 com.github.luben.zstd.ZstdException: Src size is incorrect

Merge pull request !6 from 7V天下/master
This commit is contained in:
tianyaleixiaowu 2022-07-06 08:55:13 +00:00 committed by Gitee
commit 4f41fb54d0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,5 +1,7 @@
package com.jd.platform.jlog.common.constant; package com.jd.platform.jlog.common.constant;
import com.jd.platform.jlog.common.utils.ZstdUtils;
import java.util.HashSet; import java.util.HashSet;
import java.util.Set; import java.util.Set;
@ -29,7 +31,7 @@ public class Constant {
public static String DEFAULT_DELETE_VALUE = "#[DELETE]#"; public static String DEFAULT_DELETE_VALUE = "#[DELETE]#";
public static byte[] DEFAULT_BYTE = "default".getBytes(); public static byte[] DEFAULT_BYTE = ZstdUtils.compress("default".getBytes());
public static final String REQ = "request"; public static final String REQ = "request";