Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Set instrument options in consumer #30

Merged
merged 2 commits into from
Jun 8, 2018
Merged

Set instrument options in consumer #30

merged 2 commits into from
Jun 8, 2018

Conversation

cw9
Copy link
Contributor

@cw9 cw9 commented Jun 8, 2018

No description provided.

@@ -53,5 +53,5 @@ func (c *Configuration) NewOptions(iOpts instrument.Options) Options {
if c.ConnectionReadBufferSize != nil {
opts = opts.SetConnectionReadBufferSize(*c.ConnectionReadBufferSize)
}
return opts
return opts.SetInstrumentOptions(iOpts)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: You can set it when the opts is created.

Copy link
Contributor

@xichen2020 xichen2020 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cw9 cw9 merged commit 0398744 into master Jun 8, 2018
@cw9 cw9 deleted the chao-consumer-iOpts branch June 8, 2018 14:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants