emqx/apps/emqx_rule_engine
Xinyu Liu 3b00b16abe
Merge pull request #8221 from terry-xiaoyu/fix_delayed_module_disbled_after_emqx_stop
feat: fix the hook priorities
2022-06-16 09:42:42 +08:00
..
etc feat: generate a minimized emqx.conf 2022-05-31 19:20:27 +08:00
i18n refactor(rule): rename outputs -> actions 2022-05-25 17:02:37 +08:00
include refactor(rule): rename outputs -> actions 2022-05-25 17:02:37 +08:00
src Merge pull request #8221 from terry-xiaoyu/fix_delayed_module_disbled_after_emqx_stop 2022-06-16 09:42:42 +08:00
test fix: add telemetry testcases in all/0 2022-05-25 21:55:28 +08:00
.gitignore chore(apps): relocate some apps 2021-02-19 11:24:41 +01:00
README.md chore: rename EMQX Broker to just EMQX 2022-02-19 12:51:34 +01:00
rebar.config refactor: stop releasing edge edition 2022-05-26 20:05:46 +02:00

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;