Prior to EMQX 5.0, the edge edition's main difference comaring to standard edition are: * Less number of plugins in the release (smaller package size) * Smaller number is vm.args (for lower memory usage) Starting from 5.0 most of the plugins are included as features, the tuned vm.args arguments does not justify a special release edition. Also as nanomq is getting mature, EMQ's recommendtation for MQTT broker in edge is https://nanomq.io/ |
||
|---|---|---|
| .. | ||
| etc | ||
| i18n | ||
| include | ||
| src | ||
| test | ||
| .gitignore | ||
| README.md | ||
| rebar.config | ||
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;