Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pros: Supports scalability with Apache StrormStorm.

Cons: The current deployment does not support HA. 

...

  • CEP Workers: Receives events from an external source and converts it into a format that the Siddhi engine can understand and sends these events to the Storm, and receives processed events from the Strom engine Storm engine and sends them to the external event sink in the configured form.
  • Siddhi Storm Topology: The Storm topology runs Siddhi Core in a distributed manner. The topology itself has receivers and publishers to communicate with CEP.
  • CEP Manager Service: Deploys the topology and keeps track of CEP/Storm Receivers/Publishers and enables those components to discover communicate between each other.
  • CEP Presenters: Nodes which are designated to the aggregate events streams in multiple nodes to be presented through "   Analytics Dashboards ". Dashboards should be created in these nodes.

...

  • You must only enable the distributed mode configurations here and ensure that all other modes are set to false. 
  • A single node can act as Manager, worker and presenter at the same time.

  • You can start the node as a CEP manager only by setting the manager element to true and worker and presenter elements to false. Similarly setting enable true in woker/ presenter elements will make the node act as a worker/presenter. If all are disabled, the server starts as a normal CEP node.

  • When starting CEP as a manager node,  hostName/IP and port for the storm manager service should be specified. Similarly, when starting CEP as a preseneter node hostName/IP and port should be specified for event synching service to be hosted.

    Code Block
    languagexml
    <nodeType>
       <worker enable="true"/>
       <manager enable="true">
             <hostName>172.17.42.1</hostName>
             <port>8904</port>
       </manager>
       <presenter enable="true">
             <hostName>172.17.42.1</hostName>
             <port>11000</port>
       </presenter>
     </nodeType>
  • Specify the portRange to list out the range of ports that can be opened to receive events in both CEP and Strom Storm when communicating with the Storm topology. This can be any range of ports.

    Code Block
    languagexml
    <portRange>
          <min>15000</min>
          <max>15100</max>
    </portRange>
  • Specify CEP managers by listing their hostName and ports.

    Code Block
    languagexml
    <managers>
          <manager>
              <hostName>172.17.42.1</hostName>
              <port>8904</port>
          </manager>
          <manager>
              <hostName>172.17.42.2</hostName>
              <port>8904</port>
          </manager>
    </managers>

...