mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
[skip ci]Add comment for rocksmq producer client (#13533)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
966955dcdf
commit
da4931810f
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user