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