ieQu1 d23a88d0a9 docs(schema): Minor improvements to spelling and formatting. vor 4 Jahren
..
etc b3d9605722 chore(conf): EMQ X -> EMQX in conf files vor 4 Jahren
include a892ff9006 fix(dialyzer): update the specs for the rule() vor 4 Jahren
src d23a88d0a9 docs(schema): Minor improvements to spelling and formatting. vor 4 Jahren
test ccc134d061 fix(emqx_rule_api_schema): add rule events schema vor 4 Jahren
.gitignore 4a877a3a69 chore(apps): relocate some apps vor 5 Jahren
README.md 1be3eb1446 chore: rename EMQX Broker to just EMQX vor 4 Jahren
rebar.config 82e3565344 chore: major mode file variable for Emacs vor 4 Jahren

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;