mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comment for pulsar reader (#14119)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/14152/head
parent
e3771bee3d
commit
94745ba3c3
|
@ -26,6 +26,7 @@ func (pr *pulsarReader) Next(ctx context.Context) (Message, error) {
|
|||
return &pulsarMessage{msg: pm}, nil
|
||||
}
|
||||
|
||||
// HasNext check if there is any message available to read from the current position
|
||||
func (pr *pulsarReader) HasNext() bool {
|
||||
return pr.r.HasNext()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue