pyflink.datastream.data_stream.CachedDataStream.rebalance#
- CachedDataStream.rebalance() pyflink.datastream.data_stream.DataStream #
Sets the partitioning of the DataStream so that the output elements are distributed evenly to instances of the next operation in a round-robin fashion.
- Returns
The DataStream with rebalance partition set.