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

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/13021/head
yukun 2021-12-08 20:41:27 +08:00 committed by GitHub
parent 3a36aee223
commit 0f387871c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ func (r *reader) Close() {
r.c.server.CloseReader(r.topic, r.name)
}
// Seek seek the reader to the position of message id
func (r *reader) Seek(msgID UniqueID) error { //nolint:govet
r.c.server.ReaderSeek(r.topic, r.name, msgID)
return nil