生产数据增生产加消息的机器IP

This commit is contained in:
2022-07-06 19:00:50 +08:00
parent f3fd54906f
commit 57be7f3f33
2 changed files with 2 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ package delay
type ProduceData struct {
MsgID string `json:"msg_id"` // 消息ID
Timestamp int64 `json:"timestamp"` // 消息生成时间: ms
Host string `json:"host"` // 生产消息的机器IP
Data map[string]interface{} `json:"data"` // 传入的业务数据
}