Andrew Mayorov ce2dba15b4 feat: turn tables queried with search APIs into ordered sets před 3 roky
..
etc 8aa60cc0a5 feat: generate a minimized emqx.conf před 3 roky
i18n 0b324da7cb refactor: move metrics out of /rules(/:id) to /rules/:id/metrics před 3 roky
include dbc10c2eed chore: update copyright year 2023 před 3 roky
src ce2dba15b4 feat: turn tables queried with search APIs into ordered sets před 3 roky
test eb7dca3691 chore(rule_engine): reset metrics when disabling a rule před 3 roky
.gitignore 4a877a3a69 chore(apps): relocate some apps před 5 roky
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX před 4 roky
rebar.config ebe4d7c3fb refactor: stop releasing edge edition před 3 roky

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;