[skip ci]Add rocksmq comments (#10925)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-10-29 21:45:01 +08:00 committed by GitHub
parent 07534a75de
commit 9016bd7e33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,7 @@ func newClient(options ClientOptions) (*client, error) {
return c, nil
}
// CreateProducer create a rocksmq producer
func (c *client) CreateProducer(options ProducerOptions) (Producer, error) {
// Create a producer
producer, err := newProducer(c, options)