mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci]Add comments for RegisterConsumer (#9912)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
a0d9991d6f
commit
83f1b75293
@ -371,6 +371,7 @@ func (rmq *rocksmq) CreateConsumerGroup(topicName, groupName string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// RegisterConsumer registers a consumer in rocksmq consumers
|
||||
func (rmq *rocksmq) RegisterConsumer(consumer *Consumer) {
|
||||
start := time.Now()
|
||||
if vals, ok := rmq.consumers.Load(consumer.Topic); ok {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user