mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comments for CreateConsumerGroup (#9911)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/9913/head
parent
971e0ea91f
commit
a0d9991d6f
|
@ -353,6 +353,7 @@ func (rmq *rocksmq) ExistConsumerGroup(topicName, groupName string) (bool, *Cons
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateConsumerGroup creates an nonexistent consumer group for topic
|
||||||
func (rmq *rocksmq) CreateConsumerGroup(topicName, groupName string) error {
|
func (rmq *rocksmq) CreateConsumerGroup(topicName, groupName string) error {
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
key := constructCurrentID(topicName, groupName)
|
key := constructCurrentID(topicName, groupName)
|
||||||
|
|
Loading…
Reference in New Issue