Zhongwen Deng 56417a3130 feat: list rules support for pagination and fuzzy filtering il y a 3 ans
..
etc 8aa60cc0a5 feat: generate a minimized emqx.conf il y a 3 ans
i18n 56417a3130 feat: list rules support for pagination and fuzzy filtering il y a 3 ans
include 71de9616d3 refactor(rule): rename outputs -> actions il y a 3 ans
src 56417a3130 feat: list rules support for pagination and fuzzy filtering il y a 3 ans
test 56417a3130 feat: list rules support for pagination and fuzzy filtering il y a 3 ans
.gitignore 4a877a3a69 chore(apps): relocate some apps il y a 5 ans
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX il y a 4 ans
rebar.config ebe4d7c3fb refactor: stop releasing edge edition il y a 3 ans

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;