Zhongwen Deng db584f79d6 feat: upgrade hocon to 0.25.0 to replace nullable with required. 4 lat temu
..
etc b3d9605722 chore(conf): EMQ X -> EMQX in conf files 4 lat temu
include 63167cea70 chore: update copyright 4 lat temu
src db584f79d6 feat: upgrade hocon to 0.25.0 to replace nullable with required. 4 lat temu
test b69dca4f08 feat(rule): add testcase for '/delivery_dropped' 4 lat temu
.gitignore 4a877a3a69 chore(apps): relocate some apps 5 lat temu
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX 4 lat temu
rebar.config 82e3565344 chore: major mode file variable for Emacs 4 lat temu

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;