diff --git a/internal/util/rocksmq/client/rocksmq/client_impl.go b/internal/util/rocksmq/client/rocksmq/client_impl.go index f798625c3b..5318bcf95d 100644 --- a/internal/util/rocksmq/client/rocksmq/client_impl.go +++ b/internal/util/rocksmq/client/rocksmq/client_impl.go @@ -157,6 +157,7 @@ func (c *client) consume(consumer *consumer) { } } +// Close close the channel to notify rocksmq to stop operation and close rocksmq server func (c *client) Close() { // TODO(yukun): Should call server.close() here? c.closeOnce.Do(func() {