# RuleEngin **Repository Path**: jerrycell/RuleEngin ## Basic Information - **Project Name**: RuleEngin - **Description**: 规则引擎 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2021-10-12 - **Last Updated**: 2023-11-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### rule engine #### kafka config kafka consumer config ```json { "brokerAddress": "localhost:9092", "group": "rule-engine", "topics": "topic", "autoCommit": true, "maxPollCount": 1000, "maxPollInterval": 2000, "maxQps": 1000 } ``` #### rule config ```json { "action": { "kafka": { "brokers": "localhost:9092", "topic": "dest-topic" } }, "npnsIotSqlVersion": "2018-10-18", "ruleDisabled": true, "sql": "select * from topic" } ``` > kafka consumer topic should be equal to sql database, as the above example, the topic should be "topic" #### compile jar mvn package -Dmaven.test.skip=true #### build docker image mvn package dockerfile:build -Dmaven.test.skip=true #### run jar java -Denv=DEV -Ddev_meta=http://localhost:8080/ -jar ./target/push-rule-engine-1.0-SNAPSHOT.jar