[skip e2e]Add comment for rmq reader (#13624)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-23 17:05:13 +08:00 committed by GitHub
parent 83ef9a9ba1
commit ee2027be87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,6 +32,7 @@ func (rr *rmqReader) HasNext() bool {
return rr.r.HasNext()
}
// Seek seeks the reader position to id
func (rr *rmqReader) Seek(id MessageID) error {
msgID := id.(*rmqID).messageID
return rr.r.Seek(msgID)