mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for rocksmq reader (#12570)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/12579/head
parent
fa4372a597
commit
777dd95071
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue