mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
[skip ci]Add rmq producer comments (#11272)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
e21068ffbc
commit
eda65381c2
@ -27,6 +27,7 @@ func (rp *rmqProducer) Topic() string {
|
||||
return rp.p.Topic()
|
||||
}
|
||||
|
||||
// Send send the producer messages to rocksmq
|
||||
func (rp *rmqProducer) Send(ctx context.Context, message *ProducerMessage) (MessageID, error) {
|
||||
pm := &rocksmq.ProducerMessage{Payload: message.Payload}
|
||||
id, err := rp.p.Send(pm)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user