Zaiming (Stone) Shi 6b44d96c0d refactor: rename functions to please elvis hace 3 años
..
etc b3d9605722 chore(conf): EMQ X -> EMQX in conf files hace 4 años
i18n a58b88aeec chore(i18n): fix more and more typos hace 3 años
include 02c3f87b31 style: reformat all remaining apps hace 3 años
src 6b44d96c0d refactor: rename functions to please elvis hace 3 años
test 02c3f87b31 style: reformat all remaining apps hace 3 años
.gitignore 4a877a3a69 chore(apps): relocate some apps hace 5 años
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX hace 4 años
rebar.config 02c3f87b31 style: reformat all remaining apps hace 3 años

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;