[skip ci] Add comment for AsProducer (#8809)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
This commit is contained in:
xige-16 2021-09-28 23:16:14 +08:00 committed by GitHub
parent 72e430614c
commit 002e676bd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {