mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add comment for pulsar client (#14198)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/14226/head
parent
d57587ac4d
commit
325639a2cb
|
@ -55,6 +55,7 @@ func (pc *pulsarClient) CreateProducer(options ProducerOptions) (Producer, error
|
||||||
return producer, nil
|
return producer, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// CreateReader creates a pulsar reader instance
|
||||||
func (pc *pulsarClient) CreateReader(options ReaderOptions) (Reader, error) {
|
func (pc *pulsarClient) CreateReader(options ReaderOptions) (Reader, error) {
|
||||||
opts := pulsar.ReaderOptions{
|
opts := pulsar.ReaderOptions{
|
||||||
Topic: options.Topic,
|
Topic: options.Topic,
|
||||||
|
|
Loading…
Reference in New Issue