项目作者: emqx

项目描述 :
EMQ X Rule Engine
高级语言: Erlang
项目地址: git://github.com/emqx/emqx-rule-engine.git
创建时间: 2019-01-20T05:55:50Z
项目社区:https://github.com/emqx/emqx-rule-engine

开源协议:Apache License 2.0

下载


emqx-rule-engine

IoT Rule Engine for EMQ X Broker.

Concept

  1. iot rule "Rule Name"
  2. when
  3. match TopicFilters and Conditions
  4. select
  5. para1 = val1
  6. para2 = val2
  7. then
  8. take action(#{para2 => val1, #para2 => val2})

Architecture

  1. |-----------------|
  2. Pub ---->| Message Routing |----> Sub
  3. |-----------------|
  4. | /|\
  5. \|/ |
  6. |-----------------|
  7. | Rule Engine |
  8. |-----------------|
  9. | |
  10. Backends Services Bridges

SQL for Rule query statement

  1. select id, time, temperature as t from "topic/a" where t > 50;

License

Copyright (c) 2019 EMQ Technologies Co., Ltd. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the “License”);you may not use this file except in compliance with the License.You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License.