[skip ci]Add comment for rocksmq reader (#12403)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/12426/head
yukun 2021-11-29 23:59:53 +08:00 committed by GitHub
parent 832b771dcd
commit 47f1f51bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -972,6 +972,7 @@ func (rmq *rocksmq) updateAckedInfo(topicName, groupName string, ids []UniqueID)
return nil
}
// CreateReader create a reader for topic and generate reader name
func (rmq *rocksmq) CreateReader(topicName string, startMsgID UniqueID, messageIDInclusive bool, subscriptionRolePrefix string) (string, error) {
if rmq.isClosed() {
return "", errors.New(RmqNotServingErrMsg)