Create & Init Project...
This commit is contained in:
11
app/admin/main/apm/model/databus/message.go
Normal file
11
app/admin/main/apm/model/databus/message.go
Normal file
@ -0,0 +1,11 @@
|
||||
package databus
|
||||
|
||||
// Message Data.
|
||||
type Message struct {
|
||||
Key string `json:"key"`
|
||||
Value string `json:"value"`
|
||||
Topic string `json:"topic"`
|
||||
Partition int32 `json:"partition"`
|
||||
Offset int64 `json:"offset"`
|
||||
Timestamp int64 `json:"timestamp"`
|
||||
}
|
Reference in New Issue
Block a user