mirror of https://github.com/milvus-io/milvus.git
[skip ci]Format messsage stream factory docs (#9165)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/8968/head
parent
deee8bb00c
commit
27c5dd299f
|
@ -224,10 +224,11 @@ type MsgStream interface {
|
||||||
Seek(offset []*MsgPosition) error
|
Seek(offset []*MsgPosition) error
|
||||||
}
|
}
|
||||||
|
|
||||||
type MsgStreamFactory interface {
|
type Factory interface {
|
||||||
SetParams(params map[string]interface{}) error
|
SetParams(params map[string]interface{}) error
|
||||||
NewMsgStream(ctx context.Context) (MsgStream, error)
|
NewMsgStream(ctx context.Context) (MsgStream, error)
|
||||||
NewTtMsgStream(ctx context.Context) (MsgStream, error)
|
NewTtMsgStream(ctx context.Context) (MsgStream, error)
|
||||||
|
NewQueryMsgStream(ctx context.Context) (MsgStream, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO
|
//TODO
|
||||||
|
|
Loading…
Reference in New Issue