未验证 提交 f89f2ded 编写于 作者: Y yukun 提交者: GitHub

[skip ci]Add comments for rmq client subscribe (#9422)

Signed-off-by: Nyukun <kun.yu@zilliz.com>
上级 3dcfff3a
......@@ -44,6 +44,7 @@ func (rc *rmqClient) CreateProducer(options ProducerOptions) (Producer, error) {
return &rp, nil
}
// Subscribe subscribes a consumer in rmq client
func (rc *rmqClient) Subscribe(options ConsumerOptions) (Consumer, error) {
receiveChannel := make(chan rocksmq.ConsumerMessage, options.BufSize)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册