Questions tagged [nesper]

NEsper is a CLR-based component for building CEP and ESP engines.

NEsper is a CLR-based component for building CEP and ESP engines. NEsper is based upon the Esper baseline, but includes customizations that are specific to the .NET CLR.

See http://esper.codehaus.org/about/nesper/nesper.html

63 questions
0
votes
1 answer

Esper AMQPSource not receiving events

I'm trying to use the AMQPSource and I'm getting the error describe below, also imports are not working in EPL module. In advance, I test adding full package name to DistanceEvent (events.DistanceEvent and does not work). To sending a message i'm…
Pablog1108
  • 87
  • 7
0
votes
1 answer

ESPER check if value is NaN

Hej, does anyone know how I can check in ESPER if a value is NaN? I want to get the slope of some variables which works, but the first value is always NaN. I want to exclude that value. value ='NaN' and value = NaN does not work
peggers
  • 31
  • 6
0
votes
1 answer

Use ESPER timestamp in EPL Online Test

I have a simple question, for which I cannot find any ansers on stackoverflow or the ESPERTECH website. My plan is to write an ESPER CEP engine to check values in a live system. To check if the rules are correct even after editing them, I have some…
peggers
  • 31
  • 6
0
votes
1 answer

esper detect change in value of Event

Hej! I have a small problem with my esper code. The input is like that: t=t.plus(1 seconds) CondiA ={varible ='Temp', value =1} t=t.plus(1 seconds) CondiA ={varible ='Press', value =1} t=t.plus(1 seconds) CondiA ={varible ='Speed', value…
peggers
  • 31
  • 6
0
votes
1 answer

How do i get the timestamps for a max(val) and min(val) in a window?

How do i get the timestamps for a MAX(val) and MINval) in a NAMED WINDOW or WINDOW? Window: [ t1- 100 t2- 200 t3- 250 t4- 900 ] every time the window is released I want t1 with its min value and t4 with its max value. I tried with subquery on my…
carva
  • 35
  • 7
0
votes
1 answer

Nesper engine/C#: issue in internal current time

I'm using the Nesper engine (http://www.espertech.com/esper/nesper.php) in C# and I'm facing an issue. When trying to retrieve the engine's internal time, the date returned seems to be wrong as it is the date as of yesterday. The code below is a…
Bob
  • 26
  • 3
0
votes
1 answer

how to trigger esper if there are no incoming events for a given period of time

I have esper processer configured to listen messages in kafka. usually select * from events.win:time(2 min) will trigger all events in last 2 mins Now, I want to trigger a notification if there are no messages in kafka for last 2 minutes. how should…
Manoj Kalluri
  • 1,384
  • 2
  • 14
  • 27
0
votes
1 answer

Nesper high CPU/Memory usage when using window of win:time

I am using Nesper as the CEP engine to process the events in my application. I am trying to model the following EPL statement: The Value field of the events are averaged over limited window time. If any of these averages matched 1 desired value,…
Isaac
  • 2,332
  • 6
  • 33
  • 59
0
votes
1 answer

Esper: detect event start only

I'm new to Esper (NEsper, actually) and I've been trying (unsuccesfully) to create an statement to detect when an event starts. For example, suppose I have an event type called "Started betting" and I want to consider it is happening after 10…
Leti
  • 1
  • 1
0
votes
1 answer

How to fire pattern on partial match in Esper CEP

I'm trying to solve route-violation problem. User defines a route as series of location sequences (in exact order) that some item needs to be seen on. So lets say that correct route is (this is defined by user) A -> B -> C I'm trying to write Esper…
rjovic
  • 1,207
  • 2
  • 16
  • 37
0
votes
1 answer

Why wont this context work?

I want the same statement to select between the times specified in the two contexts below. However I get no output. How can I get output when B is active and C is active using nested contexts in a single statement? create context A context B…
carva
  • 35
  • 7
0
votes
1 answer

How does nesting two crontab Contexts work?

Is it possible to nest two crontab contexts like these? create context Nest context A start (0, *, *, *, 1) end (0, *, *, *, 6), context B start (0, 8, *, *, *) end (0, 22, *, *, *) Does the first context decide the second context? If so I assume,…
sweep
  • 75
  • 9
0
votes
1 answer

How do I specify time when using timestamps from a file?

Is it possible in Esper to manage timestamp from an input. The file I use looks like this: 143 Sat Sep 12 14:43:05 CEST 2009 149 Sat Sep 12 14:43:06 CEST 2009 149 Sat Sep 12 14:43:09 CEST 2009 143 Sat Sep 12 14:43:10 CEST 2009 149 Sat Sep 12…
sweep
  • 75
  • 9
0
votes
1 answer

How do I maintain a Set of event properites in a window?

Is it possible to create a table with a primary key and a Set as a secondary column that would be like a list in a value of a hashtable? something like this: create table T (id int primary key, list HashSet ) where the list would hold all…
wandapong
  • 59
  • 5
0
votes
1 answer

win.length got wrong result while using pattern in EPL Nesper

I have problem with windows length. My condition: 1-Output will trigger if event happen within length 3 2-Output dismiss if event happen after length 3 Example: Event Sequence: 1:A 2:B 3:C 4:D 5:E 6:A 7:C 8:D 9:E 10:F 11:B Event Rule: …
Ruby
  • 1
  • 3