mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add rocksmq client comments (#11052)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/11054/head
parent
58aa8986b6
commit
af7a5ca50f
|
@ -64,6 +64,7 @@ func (c *client) CreateProducer(options ProducerOptions) (Producer, error) {
|
|||
return producer, nil
|
||||
}
|
||||
|
||||
// Subscribe create a rocksmq consumer and start consume in a goroutine
|
||||
func (c *client) Subscribe(options ConsumerOptions) (Consumer, error) {
|
||||
// Create a consumer
|
||||
if reflect.ValueOf(c.server).IsNil() {
|
||||
|
|
Loading…
Reference in New Issue