You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Aissa Elaffani <ai...@gmail.com> on 2020/06/25 16:35:24 UTC
CEP use case !
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
Re: CEP use case !
Posted by Benchao Li <li...@apache.org>.
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 <ai...@gmail.com> 于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