[skip ci]Add comments for CreateConsumerGroup (#9911)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-10-14 20:00:35 +08:00 committed by GitHub
parent 971e0ea91f
commit a0d9991d6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -353,6 +353,7 @@ func (rmq *rocksmq) ExistConsumerGroup(topicName, groupName string) (bool, *Cons
return false, nil
}
// CreateConsumerGroup creates an nonexistent consumer group for topic
func (rmq *rocksmq) CreateConsumerGroup(topicName, groupName string) error {
start := time.Now()
key := constructCurrentID(topicName, groupName)