Zaiming (Stone) Shi 02c3f87b31 style: reformat all remaining apps 3 年之前
..
etc b3d9605722 chore(conf): EMQ X -> EMQX in conf files 4 年之前
i18n a58b88aeec chore(i18n): fix more and more typos 3 年之前
include 02c3f87b31 style: reformat all remaining apps 3 年之前
src 02c3f87b31 style: reformat all remaining apps 3 年之前
test 02c3f87b31 style: reformat all remaining apps 3 年之前
.gitignore 4a877a3a69 chore(apps): relocate some apps 5 年之前
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX 4 年之前
rebar.config 02c3f87b31 style: reformat all remaining apps 3 年之前

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;