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

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/12579/head
yukun 2021-12-01 22:35:47 +08:00 committed by GitHub
parent 79f1216f9d
commit fa4372a597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1042,6 +1042,7 @@ func (rmq *rocksmq) ReaderSeek(topicName string, readerName string, msgID Unique
reader.Seek(msgID)
}
// Next get the next message of reader
func (rmq *rocksmq) Next(ctx context.Context, topicName string, readerName string, messageIDInclusive bool) (*ConsumerMessage, error) {
if rmq.isClosed() {
return nil, errors.New(RmqNotServingErrMsg)