Configuring through the Management Console UI
1. Log in to the CEP management console and select the Main menu in the left hand side of the screen. Then select the Execution Plans menu item under the Event Processor menu.
2. The Available Execution Plans window opens. Click Add Execution Plan.
3. This will open the Create a New Execution Plan form. Fill in the form with valid values. The Execution plan name can You can configure execution plans through the management console as explained below or by manually adding an XML file as explained in step 5.
- Start the CEP, log in to its management console, select Execution Plans and click Add Execution Plan.
- Enter details in the form that appears. For example,
The execution plan name The description is optional.
Execution Plan Name : Can contain only alphanumeric characters and '_' character. The
Description field : This is optional.
4. The Snapshot time interval field denotes : Defines how often the state of the processing engine should be persisted, which is used to restore after a system crash. The default value '0' (the default value) here is 0, which disables this feature.
...
If snapshot is enabled, you must start the CEP
...
with the embedded
...
Cassandra server enabled.
...
To do this, specify -Ddisable.cassandra.server.startup=false option at server startup.
5. When writing query expressions (See Siddhi Language specification on how to write queries), users need to import the required streams from Event Builders. The As field maps the incoming stream to a stream name suitable for the Siddhi processing engine. Note that the As field can contain only alphanumeric characters and '_' character.
...