mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-30 23:45:28 +08:00
[skip e2e]Add comment for pulsar client (#14197)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
9be7192cf5
commit
65c19cb869
@ -42,6 +42,7 @@ func GetPulsarClientInstance(opts pulsar.ClientOptions) (*pulsarClient, error) {
|
||||
return sc, nil
|
||||
}
|
||||
|
||||
// CreateProducer create a pulsar producer from options
|
||||
func (pc *pulsarClient) CreateProducer(options ProducerOptions) (Producer, error) {
|
||||
opts := pulsar.ProducerOptions{Topic: options.Topic}
|
||||
pp, err := pc.client.CreateProducer(opts)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user