[skip ci]Add comments for rocksmq CreateTopic (#9733)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-10-12 19:33:24 +08:00 committed by GitHub
parent 7543122186
commit 55c615b4e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,6 +211,7 @@ func (rmq *rocksmq) checkKeyExist(key string) bool {
return val != ""
}
// CreateTopic writes initialized messages for topic in rocksdb
func (rmq *rocksmq) CreateTopic(topicName string) error {
start := time.Now()
beginKey := topicName + "/begin_id"