Skip to content
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

Fix some typos in the README. #91

Merged
merged 1 commit into from
Jul 15, 2016
Merged

Conversation

carwynmoore
Copy link
Contributor

  • Renamed MaxInFlight to MaxInflight (lowercase f) to match code.
  • Adding missing double quote

@coveralls
Copy link

coveralls commented Jul 15, 2016

Coverage Status

Coverage remained the same at 86.237% when pulling f0b40aa on carwynmoore:readme_typos into bc6ef46 on nats-io:master.

@@ -167,10 +167,10 @@ This mismatch is commonly called a "fast producer/slow consumer" problem, and ma

### Publisher rate limiting

NATS Streaming provides a connection option called `MaxPubAcksInFlight` that effectively limits the number of unacknowledged messages that a publisher may have in-flight at any given time. When this maximum is reached, further `PublishAsync()` calls will block until the number of unacknowledged messages falls below the specified limit. ex:
NATS Streaming provides a connection option called `MaxPubAcksInflight` that effectively limits the number of unacknowledged messages that a publisher may have in-flight at any given time. When this maximum is reached, further `PublishAsync()` calls will block until the number of unacknowledged messages falls below the specified limit. ex:
Copy link
Member

Choose a reason for hiding this comment

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

The property MaxPubAcksInflight is really incorrectly named. It really should be MaxPubAcksInFlight. It always stumps me. Likely the time to make the change is now or never.
@kozlovic @ColinSullivan1

Copy link
Member

Choose a reason for hiding this comment

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

Perhaps add the new one and deprecate the API. I hate to make breaking changes past alpha/beta.

Copy link
Member

Choose a reason for hiding this comment

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

So now my question is what about PR #88, where we provide an option setter that I have named MaxPubAcksInFlight, should it stay this way? If users use the new option setter to set that option, it will be less of an issue if it is not named properly (since they won't directly reference the option itself). Comments?

Copy link
Member

Choose a reason for hiding this comment

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

Keep theMaxPubsAckInFlight option, the code at least will look correct. However with other language client implementations we need to be careful, or we need to normalize. We can take this offline.

@ColinSullivan1
Copy link
Member

ColinSullivan1 commented Jul 15, 2016

LGTM - Thank you @carwynmoore for the contribution!

@kozlovic kozlovic merged commit 15347a1 into nats-io:master Jul 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants