mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci]Add comment for rocksmq reader (#12570)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user