[skip ci]Add comments for rocksmq (#10388)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/10399/head
yukun 2021-10-21 22:43:21 +08:00 committed by GitHub
parent b4064e6d76
commit 4a8619619b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ func (c *consumer) Chan() <-chan ConsumerMessage {
return c.messageCh
}
// Seek seek rocksmq position to id and notify consumer to consume
func (c *consumer) Seek(id UniqueID) error { //nolint:govet
err := c.client.server.Seek(c.topic, c.consumerName, id)
if err != nil {