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

(concurrentbatchprocessor): add in-flight byte limit to producer queue #93

Merged

Conversation

moh-osman3
Copy link
Contributor

@moh-osman3 moh-osman3 commented Nov 9, 2023

This PR adds a new config option in the concurrentbatchprocessor named max_in_flight_bytes. This config option will be used by processor to control admission (using a semaphore) into the producer queue based on the size of requests.

Fixes #80.
Fixes #11.

@moh-osman3 moh-osman3 force-pushed the mohosman/batchprocessor-inflight-limit branch from e367aca to 677c45f Compare November 15, 2023 22:17
@moh-osman3 moh-osman3 marked this pull request as ready for review November 16, 2023 08:20
@jmacd jmacd changed the title (batchprocessor): add in-flight byte limit to producer queue (concurrentbatchprocessor): add in-flight byte limit to producer queue Nov 17, 2023
Copy link
Contributor

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

Thanks for iterating on the tests with me! 🚀

@jmacd jmacd merged commit f2d291d into open-telemetry:main Nov 17, 2023
2 checks passed
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.

Develop a concurrent memory-limited batch processor Support for blocking OTel-Arrow pipeline
2 participants