Designing Intelligent Event Processor (IEP) Projects

ProcedureTo Create a Batched Stream Output Operator

  1. Drag a Batched Stream Output operator from the Palette to the Design view.

  2. Connect the input of the new Batched Stream Output component to an operator that has stream output.

  3. Double-click the Batched Stream Output operator.

    The property editor opens. Notice that the component has inherited the schema of its input stream.

  4. If you want to include a timestamp on the output, then select the Include Timestamp check box.

  5. In the Batch Size field, specify the number of events in a batch.

  6. In the Maximum Delay field and drop-down list, specify the maximum amount of time that the operator will wait before sending a batch.

    For example, assume that the batch size is 10 and the maximum delay is 30 seconds. If 30 seconds have passed since the previous batch was sent, and only eight events have arrived, then the operator sends the eight events.

  7. (Optional) Click the Documentation tab and supply notes on this component.

  8. Click OK.