17 lines
654 B
Go
17 lines
654 B
Go
package public
|
||
|
||
const GmqMsgPluginsName = "gmq_msg"
|
||
|
||
const (
|
||
AccountMsgKey = "account:%s:%s:%s"
|
||
AccountDialogHistoryKey = "account:dialog:history:%s"
|
||
AccountGreetingOptionsKey = "account:greeting:options:%s"
|
||
)
|
||
|
||
const (
|
||
AccountFollowupTopic = "account:followup:stream" // 请求 Stream 键名(与发消息的key一致)
|
||
AccountFollowupConsumer = "account-followup-consumer" // 消费者名称(唯一标识)
|
||
AccountFollowupCount = 1 // 批处理大小(每次读取1条)
|
||
AccountFollowupAck = false // ACK是否自动确认(true自动确认,false不确认)
|
||
)
|