Skip to content

How big are batches in BatchMap? #2417

Closed Answered by th0ger
th0ger asked this question in Q&A
Feb 22, 2025 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

Just did at test with readBatchSize: 10.
But the length of BatchResponses() inside my BatchMapper gives size 1, sometimes 2.

readBatchSize seems to be an upper bound, in case the source does not yield enough events for a full batch.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@th0ger
Comment options

Answer selected by th0ger
@whynowy
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants