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

Add set_pending_limits to subscriptions. #296

Closed
Jarema opened this issue Jan 9, 2022 · 1 comment
Closed

Add set_pending_limits to subscriptions. #296

Jarema opened this issue Jan 9, 2022 · 1 comment
Assignees
Labels
enhancement Enhancement to existing functionality

Comments

@Jarema
Copy link
Member

Jarema commented Jan 9, 2022

Use Case:

Allows Client-side handled slow consumers, enabling having control over memory usage.

Proposed Change:

Add set_pending_limit to Subscription

Who Benefits From The Change(s)?

  • subscriber performing time-intensive operations on messages.
  • users deploying apps with this client on compute-limited scenarios (i.e. IoT)

Alternative Approaches

None. This is standard approach for NATS clients.

@Jarema Jarema added the enhancement Enhancement to existing functionality label Jan 9, 2022
@Jarema Jarema self-assigned this Jan 9, 2022
@Jarema
Copy link
Member Author

Jarema commented Jan 26, 2022

fixed with #299

@Jarema Jarema closed this as completed Jan 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

1 participant