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 throttling handler into http source #323

Closed
chenqi0805 opened this issue Sep 29, 2021 · 1 comment
Closed

Add throttling handler into http source #323

chenqi0805 opened this issue Sep 29, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request plugin - source A plugin to receive data from a service or location.

Comments

@chenqi0805
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently http source plugin does not limit the task queue size in handling new requests, this will lead to memory overflow in high load.

Describe the solution you'd like
The source plugin needs to return 429 (Too many requests) once the blockingTaskExecutor queue size reaches max_pending_requests.

Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@chenqi0805 chenqi0805 added enhancement New feature or request plugin - source A plugin to receive data from a service or location. labels Sep 29, 2021
@chenqi0805
Copy link
Collaborator Author

Closed via #325

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request plugin - source A plugin to receive data from a service or location.
Projects
None yet
Development

No branches or pull requests

1 participant