-
Notifications
You must be signed in to change notification settings - Fork 636
feat: Add queue size multiplier config to BulkIndexer #1029
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
feat: Add queue size multiplier config to BulkIndexer #1029
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
👋 Hi @Anaethelion! |
|
Hi! @marciw @Anaethelion @szabosteve Bumping the previous message. A review would be greatly appreciated, thanks! |
|
Hi @Stephanie0829, apologies for the late response, we'll check this over soon and get back to you ASAP. |
|
@MattDevy Hi! Sorry to bother, are there any updates? |
@Stephanie0829 no worries at all. I've added some unit tests to cover the new functionality. Thank you for your contribution, this looks great! |
* Add queue size multiplier config to BulkIndexer * test: add unit tests for QueueSizeMultiplier BulkIndexerConfig value --------- Co-authored-by: Matt Devy <matt.devy@elastic.co> (cherry picked from commit c2f52b5)
* Add queue size multiplier config to BulkIndexer * test: add unit tests for QueueSizeMultiplier BulkIndexerConfig value --------- Co-authored-by: Matt Devy <matt.devy@elastic.co> (cherry picked from commit c2f52b5)
* Add queue size multiplier config to BulkIndexer * test: add unit tests for QueueSizeMultiplier BulkIndexerConfig value --------- Co-authored-by: Matt Devy <matt.devy@elastic.co> (cherry picked from commit c2f52b5)
* Add queue size multiplier config to BulkIndexer * test: add unit tests for QueueSizeMultiplier BulkIndexerConfig value --------- (cherry picked from commit c2f52b5) Co-authored-by: Stephanie Wei <72533858+Stephanie0829@users.noreply.github.com>
* Add queue size multiplier config to BulkIndexer * test: add unit tests for QueueSizeMultiplier BulkIndexerConfig value --------- (cherry picked from commit c2f52b5) Co-authored-by: Stephanie Wei <72533858+Stephanie0829@users.noreply.github.com>
* Add queue size multiplier config to BulkIndexer * test: add unit tests for QueueSizeMultiplier BulkIndexerConfig value --------- (cherry picked from commit c2f52b5) Co-authored-by: Stephanie Wei <72533858+Stephanie0829@users.noreply.github.com>
Addresses feature request in #1027.
This pull request exposes a worker queue size multiplier config
QueueSizeMultiplier, which allows user to more flexibly configure their buffer size. This is especially helpful for systems with bursty traffic.The default value is set to 1, which maintains the existing behavior as the default.
Tested by locally confirming that setting new config will increase queue capacity.