Getting Started with Streaming Analytics
Also available as:
PDF
loading table of contents...

Implementing Business Rules on the Stream

This section shows you how to implement the business rule you created above to detect high speeding drivers. "High speed" is defined as greater than 80 miles per hour over a three-minute time window. This step partially implements Requirement 8 of the use case.

  1. Drag the Rule processor onto the canvas and connect to it to the DriverAvgSpeed Aggregate processor:

  2. Configure the business rule as follows:

The fully configured business rule should look similar to the following. Only high speed events continue on in the stream.