mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-04 12:59:23 +08:00
[skip e2e]Add comment for pulsar client (#14196)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
325639a2cb
commit
9be7192cf5
@ -74,6 +74,7 @@ func (pc *pulsarClient) CreateReader(options ReaderOptions) (Reader, error) {
|
||||
return reader, nil
|
||||
}
|
||||
|
||||
// Subscribe creates a pulsar consumer instance and subscribe a topic
|
||||
func (pc *pulsarClient) Subscribe(options ConsumerOptions) (Consumer, error) {
|
||||
receiveChannel := make(chan pulsar.ConsumerMessage, options.BufSize)
|
||||
consumer, err := pc.client.Subscribe(pulsar.ConsumerOptions{
|
||||
|
Loading…
Reference in New Issue
Block a user