[skip ci]Add comments for DestroyConsumerGroup (#10029)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/10040/head
yukun 2021-10-16 22:03:09 +08:00 committed by GitHub
parent 759603671c
commit e8d5a1ee5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -391,6 +391,7 @@ func (rmq *rocksmq) RegisterConsumer(consumer *Consumer) {
log.Debug("Rocksmq register consumer successfully ", zap.String("topic", consumer.Topic), zap.Int64("elapsed", time.Since(start).Milliseconds()))
}
// DestroyConsumerGroup removes a consumer group from rocksdb_kv
func (rmq *rocksmq) DestroyConsumerGroup(topicName, groupName string) error {
start := time.Now()
ll, ok := topicMu.Load(topicName)