Zaiming (Stone) Shi 2105d1f22b test: call ct helpers to load config 4 лет назад
..
etc b063b6f253 feat(rules): support configure rules in config file 4 лет назад
include 63167cea70 chore: update copyright 4 лет назад
src 6e3b05d665 refactor(emqx_plugin): Decorate RPCs 4 лет назад
test 2105d1f22b test: call ct helpers to load config 4 лет назад
.gitignore 4a877a3a69 chore(apps): relocate some apps 5 лет назад
README.md 9f7b513a3f chore: fix copyright update script to include more files 4 лет назад
rebar.config 82e3565344 chore: major mode file variable for Emacs 4 лет назад

README.md

emqx-rule-engine

IoT Rule Engine for EMQ X Broker.

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;