This commit is contained in:
2023-08-17 14:17:10 +08:00
parent f9a916dacb
commit 9332b68f3f

View File

@@ -15,6 +15,7 @@ public abstract class BaseMessage {
/**
* 业务键用于RocketMQ控制台查看消费情况
* 为了保证唯一性使用雪花算法生成一个随机id
*/
protected String key = IdUtil.getSnowflake().nextIdStr();