mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comments for rocksmq (#10388)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/10399/head
parent
b4064e6d76
commit
4a8619619b
|
@ -98,6 +98,7 @@ func (c *consumer) Chan() <-chan ConsumerMessage {
|
||||||
return c.messageCh
|
return c.messageCh
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Seek seek rocksmq position to id and notify consumer to consume
|
||||||
func (c *consumer) Seek(id UniqueID) error { //nolint:govet
|
func (c *consumer) Seek(id UniqueID) error { //nolint:govet
|
||||||
err := c.client.server.Seek(c.topic, c.consumerName, id)
|
err := c.client.server.Seek(c.topic, c.consumerName, id)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue