mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
[skip ci]Add comments for ExistConsumerGroup (#9832)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
67d38d6cf1
commit
d2e2e0a63c
@ -338,6 +338,7 @@ func (rmq *rocksmq) DestroyTopic(topicName string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// ExistConsumerGroup check if a consumer exists and return the existed consumer
|
||||
func (rmq *rocksmq) ExistConsumerGroup(topicName, groupName string) (bool, *Consumer) {
|
||||
key := constructCurrentID(topicName, groupName)
|
||||
if rmq.checkKeyExist(key) {
|
||||
|
Loading…
Reference in New Issue
Block a user