Update msgstream's interface in guide docs (#8295)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/8064/head
xige-16 2021-09-22 16:13:54 +08:00 committed by GitHub
parent dd963189ee
commit 138abfefab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ type TsMsg interface {
BeginTs() Timestamp BeginTs() Timestamp
EndTs() Timestamp EndTs() Timestamp
Type() MsgType Type() MsgType
SourceID() int64
HashKeys() []uint32 HashKeys() []uint32
Marshal(TsMsg) (MarshalType, error) Marshal(TsMsg) (MarshalType, error)
Unmarshal(MarshalType) (TsMsg, error) Unmarshal(MarshalType) (TsMsg, error)