[skip ci]Add rmq_client comment (#11458)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/11468/head
yukun 2021-11-08 21:09:07 +08:00 committed by GitHub
parent e29322a66b
commit 11e6a8ea50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ func (c *client) consume(consumer *consumer) {
}
}
// Close close the channel to notify rocksmq to stop operation and close rocksmq server
func (c *client) Close() {
// TODO(yukun): Should call server.close() here?
c.closeOnce.Do(func() {