[skip ci]Add comments for rocksmq producer_impl Send (#10696)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-10-26 21:40:24 +08:00 committed by GitHub
parent e8651a1cd9
commit 552efd4b7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,7 @@ func (p *producer) Topic() string {
return p.topic
}
// Send produce message in rocksmq
func (p *producer) Send(message *ProducerMessage) (UniqueID, error) {
ids, err := p.c.server.Produce(p.topic, []server.ProducerMessage{
{