Extend GroupedWeightedWithin to accept maxWeight and maxNumber simultaneously #30020

This commit is contained in:
Alex 2021-03-15 15:38:28 +04:00 committed by GitHub
parent 23f703fa08
commit 1044c4996e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 194 additions and 17 deletions

View file

@ -12,8 +12,8 @@ Chunk up this stream into groups of elements received within a time window, or l
## Description
Chunk up this stream into groups of elements received within a time window, or limited by the weight of the elements,
whatever happens first. Empty groups will not be emitted if no elements are received from upstream.
Chunk up this stream into groups of elements received within a time window, or limited by the weight and number of
the elements, whatever happens first. Empty groups will not be emitted if no elements are received from upstream.
The last group before end-of-stream will contain the buffered elements since the previously emitted group.
See also: