wso2cep

WSO2 CEP - Single Event Table for Multiple Execution PLans

只谈情不闲聊 提交于 2019-12-13 07:03:40
问题 I have been exploring WSO2 CEP for last couple of days. I am considering a scenario where a single lookup table could be used in multiple execution plans. As far as I know, only way to store data all data is event table. My questions are: Can I load an event table once(may be by one execution plan) and share that table with other execution plans? If answer of Q1 is NO, then it will be multiple copies of same data storing in different execution plans, right ? Is there any way to reduce this

How can i pick out value from consecutive value of event by using siddhi

帅比萌擦擦* 提交于 2019-12-12 02:21:36
问题 for example, that is data: 1,1470732420000,0 2,1470732421000,0 3,1470732422000,0 4,1470732423000,86 5,1470732424000,87 6,1470732425000,88 7,1470732426000,84 8,1470732427000,0 9,1470732428000,0 10,1470732429000,0 11,1470732430000,89 12,1470732431000,89 13,1470732432000,87 14,1470732433000,89 15,1470732434000,85 16,1470732435000,89 17,1470732436000,89 18,1470732437000,87 19,1470732438000,86 20,1470732439000,88 21,1470732440000,0 22,1470732441000,0 23,1470732442000,0 24,1470732443000,87 25

Can CEP http receiver receive multi data nodes one time

三世轮回 提交于 2019-12-12 02:08:42
问题 I used ESB to transform the XML message to CEP http receiver, the XML: <result> <event> <tag>0101A01B001</tag> <time>10:00:01</time> <value>30.45</value> </event> <event> <tag>0101A01B001</tag> <time>10:00:02</time> <value>33.7</value> </event> <event> <tag>0101A01B001</tag> <time>10:00:03</time> <value>23.4</value> </event> <event> <tag>0101A01B001</tag> <time>10:00:04</time> <value>33.15</value> </event> </result> And the http receiver in CEP : <?xml version="1.0" encoding="UTF-8"?>

WSO2 CEP Multiple rows in resultset

ぃ、小莉子 提交于 2019-12-11 10:09:17
问题 I wanted to know if the WSO2 CEP/Siddhi query supports returning multiple rows if yes how data from those rows can be mapped to the output XML ? e.g. my event stream has a field statusCode which can have values A/B/C I wanted to write a query which gives me the count by status type for past 5 mins e.g A-10,B-5,C-2.. in the current query i used group by statusCode to get the count of status MyQuery- ...insert into TestStream statusCode, count(statusCode) as count group by statusCode and my