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 4 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.67%. Comparing base (ced38e8) to head (003646a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11962      +/-   ##
==========================================
- Coverage   91.67%   91.67%   -0.01%     
==========================================
  Files         455      455              
  Lines       24039    24036       -3     
==========================================
- Hits        22038    22035       -3     
  Misses       1629     1629              
  Partials      372      372              

☔ 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
Copy link
Contributor

github-actions bot commented Jan 7, 2025

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 7, 2025
@lopes-felipe
Copy link
Member Author

Hey @codeboten. Could you please take a look whenever you can? Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant