DDDHuang 8b0adf69d2 Merge pull request #7926 from DDDHuang/rule_api_errormsg před 3 roky
..
etc b3d9605722 chore(conf): EMQ X -> EMQX in conf files před 4 roky
i18n a58b88aeec chore(i18n): fix more and more typos před 3 roky
include 02c3f87b31 style: reformat all remaining apps před 3 roky
src 8b0adf69d2 Merge pull request #7926 from DDDHuang/rule_api_errormsg před 3 roky
test 5210cd6e8d fix(test): rule engine api SUITE , bad rule name 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 74c33cd4e5 feat(rule_engine): add jq function to the rule engine 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;