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: msg rate acquire permit for msg/bytes #716

Merged
merged 1 commit into from
Aug 26, 2017

Conversation

rdhabalia
Copy link
Contributor

Motivation

For shared-subscription: Rate-limiter acquires byte permits as total-sent messages which derives invalid available permits while dispatching the messages.

Modifications

Fix dispatched message acquired permits.

Result

dispatch with correct msg rate for the shared subscription.

@rdhabalia rdhabalia added the type/bug The PR fixed a bug or issue reported a bug label Aug 25, 2017
@rdhabalia rdhabalia added this to the 1.20.0-incubating milestone Aug 25, 2017
@rdhabalia rdhabalia self-assigned this Aug 25, 2017
Copy link
Contributor

@merlimat merlimat left a comment

Choose a reason for hiding this comment

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

👍

@merlimat merlimat merged commit a64d795 into apache:master Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants