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

[processor/batch] Allow multiple batches for each batch size trigger #11962

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

lopes-felipe
Copy link
Member

Description

There is a config validation which enforces that send_batch_max_size must be greater than send_batch_size. This makes it impossible to have a setup of a batch that is triggered when a number of items are processed (SendBatchSize), but we want to break that set into multiple smaller batches (SendBatchMaxSize < SendBatchSize).

This logic was introduced here, due to this issue, but the underlying bug was fixed here, so this validation shouldn't exist anymore.

@lopes-felipe lopes-felipe requested a review from a team as a code owner December 19, 2024 19:34
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.62%. Comparing base (c1e860e) to head (da16227).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11962      +/-   ##
==========================================
- Coverage   91.62%   91.62%   -0.01%     
==========================================
  Files         447      447              
  Lines       23739    23736       -3     
==========================================
- Hits        21751    21748       -3     
  Misses       1613     1613              
  Partials      375      375              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lopes-felipe lopes-felipe changed the title [processor/batch] Remove wrong config validation [processor/batch] Allow multiple batches for each batch size trigger Dec 23, 2024
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.

1 participant