mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-31 07:55:38 +08:00
[skip ci]Add comments for rocksmq producer_impl (#10695)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
648608d84c
commit
e8651a1cd9
@ -57,6 +57,7 @@ func (p *producer) Send(message *ProducerMessage) (UniqueID, error) {
|
||||
return ids[0], nil
|
||||
}
|
||||
|
||||
// Close destroy the topic of this producer in rocksmq
|
||||
func (p *producer) Close() {
|
||||
err := p.c.server.DestroyTopic(p.topic)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user