tree: 7123c3b621e4b48d914ebc4c3977c4f8cc974a98 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.md
examples/dynamic-partition/README.md

This example illustrates the use of dynamic partitioning of an operator.

It uses an input operator that generates random numbers and outputs them to a DevNull operator (which, as the name suggests, simply discards them).

The input operator starts out with two partitions; after some tuples have been processed, a dynamic repartition is triggered via the StatsListener interface to increase the number of partitions to four.