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

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

View File

@ -1054,6 +1054,7 @@ func (rmq *rocksmq) Next(ctx context.Context, topicName string, readerName strin
return reader.Next(ctx, messageIDInclusive)
}
// HasNext judge whether reader has next message
func (rmq *rocksmq) HasNext(topicName string, readerName string, messageIDInclusive bool) bool {
if rmq.isClosed() {
return false