[skip ci]Add comment for rocksmq reader (#12895)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-08 09:14:32 +08:00 committed by GitHub
parent 4c7c4226f5
commit 43eece5545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,7 @@ func (r *reader) Topic() string {
return r.topic
}
// Next return the next message of reader, blocking until a message is available
func (r *reader) Next(ctx context.Context) (Message, error) {
cMsg, err := r.c.server.Next(ctx, r.topic, r.name, r.startMessageIDInclusive)
if err != nil {