[skip ci]Add comment for rocksmq producer client (#13534)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-16 20:45:27 +08:00 committed by GitHub
parent da4931810f
commit 902f6111ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,6 +44,7 @@ func newProducer(c *client, options ProducerOptions) (*producer, error) {
}, nil
}
// Topic returns the topic name of producer
func (p *producer) Topic() string {
return p.topic
}