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 (#12897)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
43eece5545
commit
14f5348e1d
@ -69,6 +69,7 @@ func (r *reader) Next(ctx context.Context) (Message, error) {
|
||||
return msg, nil
|
||||
}
|
||||
|
||||
// HasNext check if there is a message available to read
|
||||
func (r *reader) HasNext() bool {
|
||||
return r.c.server.HasNext(r.topic, r.name, r.startMessageIDInclusive)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user