Closed ruan875417 closed 11 months ago
if credentials.AccessKey != "" && credentials.SecretKey != "" { producer.WithCredentials(credentials) } 为啥不用加opts = append(opts, producer.WithCredentials(credentials))
失误
if credentials.AccessKey != "" && credentials.SecretKey != "" { producer.WithCredentials(credentials) } 为啥不用加opts = append(opts, producer.WithCredentials(credentials))