-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[IMPROVED] Documentation of jetstream options and Fetch clarification #1770
Conversation
Signed-off-by: Piotr Piotrowski <[email protected]>
ed7e147
to
42660b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I wonder if phrasing could be bit better.
jetstream/jetstream_options.go
Outdated
// | ||
// PullMaxMessages implements PullConsumeOpt and PullMessagesOpt and thus can | ||
// be used to configure both Consumer.Consume and Consumer.Messages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// | |
// PullMaxMessages implements PullConsumeOpt and PullMessagesOpt and thus can | |
// be used to configure both Consumer.Consume and Consumer.Messages. | |
// PullMaxMessages implements both PullConsumeOpt and PullMessagesOpt, allowing it to configure Consumer.Consume and Consumer.Messages. |
How about such phrasing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: Piotr Piotrowski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Resolves #1756
Signed-off-by: Piotr Piotrowski [email protected]