[skip ci]Add comment for rocksmq reader_impl (#13442)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/13437/merge
yukun 2021-12-15 18:29:26 +08:00 committed by GitHub
parent bb4ae9879d
commit cf5d07dc66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ type reader struct {
subscriptionRolePrefix string
}
// newReader create a rocksmq reader from reader options
func newReader(c *client, readerOptions *ReaderOptions) (*reader, error) {
if c == nil {
return nil, newError(InvalidConfiguration, "client is nil")