[skip ci]Add comments for rocksmq consumer_impl (#10389)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/10399/head
yukun 2021-10-21 22:45:22 +08:00 committed by GitHub
parent 4a8619619b
commit 319b3282d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ func (c *consumer) Seek(id UniqueID) error { //nolint:govet
return nil
}
// Close destroy current consumer in rocksmq
func (c *consumer) Close() {
err := c.client.server.DestroyConsumerGroup(c.topic, c.consumerName)
if err != nil {