mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Format messsage stream docs (#9164)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
4118e5de26
commit
deee8bb00c
@ -215,11 +215,13 @@ type MsgStream interface {
|
||||
AsProducer(channels []string)
|
||||
AsConsumer(channels []string, subName string)
|
||||
SetRepackFunc(repackFunc RepackFunc)
|
||||
|
||||
Produce(context.Context, *MsgPack) error
|
||||
Broadcast(context.Context, *MsgPack) error
|
||||
Consume() (*MsgPack, context.Context)
|
||||
Seek(offset *MsgPosition) error
|
||||
ComputeProduceChannelIndexes(tsMsgs []TsMsg) [][]int32
|
||||
GetProduceChannels() []string
|
||||
Produce(*MsgPack) error
|
||||
Broadcast(*MsgPack) error
|
||||
BroadcastMark(*MsgPack) (map[string][]MessageID, error)
|
||||
Consume() *MsgPack
|
||||
Seek(offset []*MsgPosition) error
|
||||
}
|
||||
|
||||
type MsgStreamFactory interface {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user