Hi Aissa,

Flink CEP is an api that processes multi-event matching with a pattern,
like (START MIDDLE+ END).
If you can calculate the "sensor_status" by one record, I think Flink
DataStream API / Table & SQL API
could satisfy your requirement already.

Aissa Elaffani <[email protected]> 于2020年6月25日周四 下午11:35写道:

> Hello Guys,
> I am asking if the CEP Api can resolve my use case. Actually, I have a lot
> of sensors generating some data, and I want to apply a rules engine on
> those sensor's data,in order to define a "sensor_status" if it is Normal or
> Alert or warning.for each record I want to apply some conditions (if
> temperature>15, humidity>...) and then defne the status of the sensor, if
> it is in Nomarl status, or Alerte status ...
> And I am wondering if CEP Api can help me achieve that.
> Thank you guys for your time !
> Best,
> AISSA
>


-- 

Best,
Benchao Li

Reply via email to