未验证 提交 593ceb6d 编写于 作者: X xige-16 提交者: GitHub

[skip ci] Add comment for seek (#8811)

Signed-off-by: Nxige-16 <xi.ge@zilliz.com>
上级 002e676b
......@@ -432,6 +432,7 @@ func (ms *mqMsgStream) Chan() <-chan *MsgPack {
return ms.receiveBuf
}
// Seek reset the subscription associated with this consumer to a specific position
func (ms *mqMsgStream) Seek(msgPositions []*internalpb.MsgPosition) error {
for _, mp := range msgPositions {
consumer, ok := ms.consumers[mp.ChannelName]
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册