To test streaming data, the records of the
stream must be partitioned into windows (batching) for processing. How the records are
batched depends on the window mode you choose. A window can be time-based or row-based.
A time-based window is created within a specified interval of
time. A row-based window is created per the specified number of
rows collected for processing.
To run an optimization test on a streaming data service, perform the following steps: