Unknown macro: {next_previous_links}
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Introduction

When it comes to Data Analytics, it is very common that users will have requirement to analyse statistics such as average, min, max etc., for different data points and visualize them graphically (using suitable charts). Template Manager feature in WSO2 CEP facilitates generating artifacts for a usage like above based on a pre-defined template so end users can generate artifacts with convenience for different scenarios. It allows a user to customize, and configure domain-specific parameter values(Ex: attribute name, time duration) in an user friendly dashboard. Upon defining required parameters and adding scenario, WSO2 CEP will generate new artifacts such as Siddhi Execution Plans, Event Streams, Gadgets etc modifying pre-defined templates with user defined values and deploy.

As an example let's take a scenario where we receive below three streams and we may receive more in future.

  • org.wso2.event.temperature.stream
  • org.wso2.event.pressure.stream
  • org.wso2.event.humidity.stream

We need to calculate sum, average, maximum and minimum values for temperature/pressure/humidity over a period of time and display on a dashboard. Other than creating each artifact individually we can create a template based on this scenario and then later use Template Manager to generate artifacts representing each sensor type for a given time period. This approach introduce re-usability and easy to configure interface for a business user who does not have knowledge about CEP internals.

The new Template Manager (earlier known as Execution Manager) is an enhancement of earlier Execution Manager and it will be able to deploy multiple artifacts, for a given analytic scenario.

Currently, this feature supports following WSO2 CEP artifact types

  • Eventstream
  • Realtime - Execution Plan
  • Event Receiver
  • Event Publisher
  • Gadget
  • Dashboard

Following two section describe how to configure a template in Template Manager and How to use Template Manager to generate artifacts.

 

  • No labels