mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comments for rocksmq consumer_impl (#10389)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/10399/head
parent
4a8619619b
commit
319b3282d9
|
@ -108,6 +108,7 @@ func (c *consumer) Seek(id UniqueID) error { //nolint:govet
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Close destroy current consumer in rocksmq
|
||||||
func (c *consumer) Close() {
|
func (c *consumer) Close() {
|
||||||
err := c.client.server.DestroyConsumerGroup(c.topic, c.consumerName)
|
err := c.client.server.DestroyConsumerGroup(c.topic, c.consumerName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue