[skip ci]Add comment for rocksmq producer client (#13533)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
yukun 2021-12-16 20:43:34 +08:00 committed by GitHub
parent 966955dcdf
commit da4931810f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ type producer struct {
topic string
}
// newProducer creates a rocksmq producer from options
func newProducer(c *client, options ProducerOptions) (*producer, error) {
if c == nil {
return nil, newError(InvalidConfiguration, "client is nil")