|
|
4 vuotta sitten | |
|---|---|---|
| .. | ||
| etc | b063b6f253 feat(rules): support configure rules in config file | 4 vuotta sitten |
| include | 63167cea70 chore: update copyright | 4 vuotta sitten |
| src | f5415589e9 chore(schema): use emqx_schema:qos() instead of union integer. | 4 vuotta sitten |
| test | b69dca4f08 feat(rule): add testcase for '/delivery_dropped' | 4 vuotta sitten |
| .gitignore | 4a877a3a69 chore(apps): relocate some apps | 5 vuotta sitten |
| README.md | 667d66eb1e docs(README): EMQ X -> EMQX | 4 vuotta sitten |
| rebar.config | 82e3565344 chore: major mode file variable for Emacs | 4 vuotta sitten |
IoT Rule Engine for EMQX Broker.
iot rule "Rule Name"
when
match TopicFilters and Conditions
select
para1 = val1
para2 = val2
then
take action(#{para2 => val1, #para2 => val2})
|-----------------|
Pub ---->| Message Routing |----> Sub
|-----------------|
| /|\
\|/ |
|-----------------|
| Rule Engine |
|-----------------|
| |
Backends Services Bridges
select id, time, temperature as t from "topic/a" where t > 50;