mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Add comment for AsProducer (#8809)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
parent
72e430614c
commit
002e676bd1
@ -84,6 +84,7 @@ func NewMqMsgStream(ctx context.Context,
|
||||
return stream, nil
|
||||
}
|
||||
|
||||
// AsProducer create producer to send message to channels
|
||||
func (ms *mqMsgStream) AsProducer(channels []string) {
|
||||
for _, channel := range channels {
|
||||
if len(channel) == 0 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user