Drag a Partitioned Window operator from the Palette to the Design View.
Connect the output of an operator that has stream output to the input of the Partitioned Window operator.
Double-click the Partitioned Window operator.
The property editor opens. The attributes of the input schema are displayed in read-only mode.
In the Size field, specify the number of events.
In the Partition Key column, select one or more attributes.
(Optional) Click the Documentation tab and supply notes on this component.
Click OK.