代码拉取完成,页面将自动刷新
同步操作将从 yueyunyue/liteflow 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
开发语言:
后端:JAVA
前端: react、mobx、antd
keyword: 调度 / DAG / 任务流
运行环境:
jdk: 1.8+
zk: 3.4.8
redis: 3.0+
mysql: 5.5+
console以及executor都是分布式的
1.由于console要负责任务调度,只会有一个主来调度分配任务到executor,其他节点是backup;
2.主备之间只有任务调度相关功能区分主备,页面上的操作不区分
## http端口
server:
port: 8080
## 数据源配置
db:
host: db.liteflow.cn
port: 3306
name: lite_flow
user: lite
pwd: lite
###redis配置
spring:
redis:
host: redis.liteflow.cn
port: 6379
password:
timeout: 100000
pool:
maxIdle: 20
maxActive: 20
maxWaitMillis: 1000
testOnBorrow: true
logging:
config: classpath:config/log4j2-test.xml
# dubbo相关配置
dubbo:
protocol:
name: dubbo
port: 20888
registry:
file: /tmp/dubbo.console.cache
qos:
port: 33333
zk:
servers: zk.liteflow.cn:2181
console:
leader:
path: /lite/console/server/leader
zk:
servers: zk.liteflow.cn:2181
console:
leader:
path: /lite/console/server/leader
其中 zk.console.leader.path是console用来选主的节点
executor是完全分布式的,没有主备之分
server:
port: 8081
## 数据源配置
db:
host: db.liteflow.cn
port: 3306
name: lite_flow
user: lite
pwd: lite
logging:
config: classpath:config/log4j2-test.xml
dubbo:
registry:
file: /tmp/dubbo.executor.cache
protocol:
name: dubbo
port: 20880
qos:
port: 22222
zk:
servers: zk.liteflow.cn:2181
#运行空间
lite:
flow:
executor:
workspace: /tmp/lite/executor
isAutoRegisterToDB: true
该配置为一个文件夹路径,用来存在一些任务运行的日志和配置信息,所以一定要保证配置的路径,启动项目的linux用户有权限,否则会影响使用
该配置为执行者信息是否可以自动注册到db中,执行者的信息会关联执行任务,所以很重要;默认开启,如果关闭后,未注册的执行者启动时会报错
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。