diff --git a/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go b/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go index f230b61451..aa905a49d5 100644 --- a/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go +++ b/internal/util/rocksmq/server/rocksmq/rocksmq_impl.go @@ -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)