基于pigx的分布式架构
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

74 lines
3.5 KiB

{
"groups": [
{
"name": "xxl.job",
"type": "com.pig4cloud.pig.common.job.properties.XxlJobProperties",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlJobProperties"
},
{
"name": "xxl.job.admin",
"type": "com.pig4cloud.pig.common.job.properties.XxlAdminProperties",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlJobProperties"
},
{
"name": "xxl.job.executor",
"type": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlJobProperties"
}
],
"properties": [
{
"name": "xxl.job.admin.addresses",
"type": "java.lang.String",
"description": "调度中心部署跟地址 [选填]:如调度中心集群部署存在多个地址则用逗号分隔。 执行器将会使用该地址进行\"执行器心跳注册\"和\"任务结果回调\";为空则关闭自动注册;",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlAdminProperties"
},
{
"name": "xxl.job.executor.access-token",
"type": "java.lang.String",
"description": "执行器通讯TOKEN [必填]:从配置文件中取不到值时使用默认值;",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
"defaultValue": "default_token"
},
{
"name": "xxl.job.executor.address",
"type": "java.lang.String",
"description": "服务注册地址,优先使用该配置作为注册地址 为空时使用内嵌服务 ”IP:PORT“ 作为注册地址 从而更灵活的支持容器类型执行器动态IP和动态映射端口问题",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties"
},
{
"name": "xxl.job.executor.appname",
"type": "java.lang.String",
"description": "执行器AppName [选填]:执行器心跳注册分组依据;为空则关闭自动注册",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties"
},
{
"name": "xxl.job.executor.ip",
"type": "java.lang.String",
"description": "执行器IP [选填]:默认为空表示自动获取IP,多网卡时可手动设置指定IP ,该IP不会绑定Host仅作为通讯实用;地址信息用于 \"执行器注册\" 和 \"调度中心请求并触发任务\"",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties"
},
{
"name": "xxl.job.executor.log-path",
"type": "java.lang.String",
"description": "执行器运行日志文件存储磁盘路径 [选填] :需要对该路径拥有读写权限;为空则使用默认路径;",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
"defaultValue": "logs\/applogs\/xxl-job\/jobhandler"
},
{
"name": "xxl.job.executor.log-retention-days",
"type": "java.lang.Integer",
"description": "执行器日志保存天数 [选填] :值大于3时生效,启用执行器Log文件定期清理功能,否则不生效;",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
"defaultValue": 30
},
{
"name": "xxl.job.executor.port",
"type": "java.lang.Integer",
"description": "执行器端口号 [选填]:小于等于0则自动获取;默认端口为9099,单机部署多个执行器时,注意要配置不同执行器端口;",
"sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
"defaultValue": 9099
}
],
"hints": []
}