[skip e2e]Add comment for pulsar reader (#14118)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/14148/head
yukun 2021-12-24 10:57:30 +08:00 committed by GitHub
parent 92c8d1ab1e
commit 5d3eb75762
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ func (pr *pulsarReader) Topic() string {
return pr.r.Topic()
}
// Next read the next message in the topic, blocking until a message is available
func (pr *pulsarReader) Next(ctx context.Context) (Message, error) {
pm, err := pr.r.Next(ctx)
if err != nil {