[skip ci]Add mqMsgStream in docs (#9412)

Signed-off-by: yukun <kun.yu@zilliz.com>
pull/9428/head
yukun 2021-10-07 22:22:55 +08:00 committed by GitHub
parent 0f65b845d2
commit d2d7ac85b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 1 deletions

View File

@ -252,7 +252,23 @@ type RmsFactory struct {
```go
// mqMsgStream
type mqMsgStream struct {
ctx context.Context
client mqclient.Client
producers map[string]mqclient.Producer
producerChannels []string
consumers map[string]mqclient.Consumer
consumerChannels []string
repackFunc RepackFunc
unmarshal UnmarshalDispatcher
receiveBuf chan *MsgPack
wait *sync.WaitGroup
streamCancel func()
bufSize int64
producerLock *sync.Mutex
consumerLock *sync.Mutex
}