Skip to content

Conversation

@Stephanie0829
Copy link
Contributor

@Stephanie0829 Stephanie0829 commented Oct 15, 2025

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.

@prodsecmachine
Copy link

prodsecmachine commented Oct 15, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@Stephanie0829
Copy link
Contributor Author

👋 Hi @Anaethelion!
could you have a look at this? Exposing this additional configuration in the client would be really helpful for us, thanks 🙏

@Stephanie0829
Copy link
Contributor Author

Hi! @marciw @Anaethelion @szabosteve Bumping the previous message. A review would be greatly appreciated, thanks!

@marciw marciw requested a review from a team November 5, 2025 20:40
@MattDevy
Copy link
Contributor

Hi @Stephanie0829, apologies for the late response, we'll check this over soon and get back to you ASAP.

@Stephanie0829
Copy link
Contributor Author

@MattDevy Hi! Sorry to bother, are there any updates?

@MattDevy MattDevy self-assigned this Nov 20, 2025
@MattDevy MattDevy changed the title Add queue size multiplier config to BulkIndexer feat: Add queue size multiplier config to BulkIndexer Nov 20, 2025
@MattDevy
Copy link
Contributor

@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!
I will get this approved and merged ASAP. I expect to tag a release sometime next week with this feature and some other changes

@MattDevy MattDevy merged commit c2f52b5 into elastic:main Nov 20, 2025
19 checks passed
MattDevy added a commit that referenced this pull request Nov 20, 2025
* 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)
@MattDevy MattDevy mentioned this pull request Nov 20, 2025
MattDevy added a commit that referenced this pull request Nov 20, 2025
* 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)
MattDevy added a commit that referenced this pull request Nov 20, 2025
* 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)
MattDevy added a commit that referenced this pull request Nov 20, 2025
* 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>
MattDevy added a commit that referenced this pull request Nov 20, 2025
* 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>
MattDevy added a commit that referenced this pull request Nov 20, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants