rocketMQ常量定义

This commit is contained in:
2023-08-17 20:26:33 +08:00
parent 160b192a47
commit ee5a97ac85
3 changed files with 33 additions and 4 deletions

View File

@@ -0,0 +1,12 @@
package com.njcn.mq.constant;
/**
* @author xy
*/
public interface BusinessResource {
/***
* App
*/
String APP_RESOURCE = "APP";
}

View File

@@ -15,10 +15,26 @@ public interface BusinessTopic {
/**
* 治理主送推送数据接收主题
*/
String NJCJ_APP_AUTO_DATA_TOPIC = "njcnAppAutoDataTopic";
String NJCN_APP_AUTO_DATA_TOPIC = "njcnAppAutoDataTopic";
/**
* 治理事件接收主题
*/
String NJCJ_APP_EVENT_TOPIC = "njcnAppEventTopic";
String NJCN_APP_EVENT_TOPIC = "njcnAppEventTopic";
interface AppDataTag {
/**
* 统计数据tag
*/
String STAT_TAG = "stat";
/**
* 实时数据tag
*/
String RT_TAG = "rt";
}
}