Follow up to https://github.com/emqx/emqx/pull/10251#discussion_r1150710899 and https://github.com/emqx/emqx/pull/10251#discussion_r1150720420 |
||
|---|---|---|
| .. | ||
| etc | ||
| i18n | ||
| include | ||
| src | ||
| test | ||
| .gitignore | ||
| README.md | ||
| rebar.config | ||
README.md
emqx-rule-engine
IoT Rule Engine
Concept
iot rule "Rule Name"
when
match TopicFilters and Conditions
select
para1 = val1
para2 = val2
then
take action(#{para2 => val1, #para2 => val2})
Architecture
|-----------------|
Pub ---->| Message Routing |----> Sub
|-----------------|
| /|\
\|/ |
|-----------------|
| Rule Engine |
|-----------------|
| |
Backends Services Bridges
SQL for Rule query statement
select id, time, temperature as t from "topic/a" where t > 50;