Skip to content

Commit

Permalink
line-too-long
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmccluskey committed Aug 22, 2024
1 parent de328ef commit a641344
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sdks/python/apache_beam/transforms/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -805,9 +805,9 @@ class BatchElements(PTransform):
When the max_batch_duration_secs arg is provided, a stateful implementation
of BatchElements is used to batch elements across bundles. This is most
impactful in streaming applications where many bundles only contain one
element. Larger max_batch_duration_secs values `might` reduce the throughput of
the transform, while smaller values `might` improve the throughput but make it
more likely that batches are smaller than the target batch size.
element. Larger max_batch_duration_secs values `might` reduce the throughput
of the transform, while smaller values `might` improve the throughput but
make it more likely that batches are smaller than the target batch size.
As a general recommendation, start with low values (e.g. 0.005 aka 5ms) and
increase as needed to get the desired tradeoff between target batch size
Expand Down

0 comments on commit a641344

Please sign in to comment.