基于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.

73 lines
3.5 KiB

11 months ago
  1. {
  2. "groups": [
  3. {
  4. "name": "xxl.job",
  5. "type": "com.pig4cloud.pig.common.job.properties.XxlJobProperties",
  6. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlJobProperties"
  7. },
  8. {
  9. "name": "xxl.job.admin",
  10. "type": "com.pig4cloud.pig.common.job.properties.XxlAdminProperties",
  11. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlJobProperties"
  12. },
  13. {
  14. "name": "xxl.job.executor",
  15. "type": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
  16. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlJobProperties"
  17. }
  18. ],
  19. "properties": [
  20. {
  21. "name": "xxl.job.admin.addresses",
  22. "type": "java.lang.String",
  23. "description": "调度中心部署跟地址 [选填]:如调度中心集群部署存在多个地址则用逗号分隔。 执行器将会使用该地址进行\"执行器心跳注册\"和\"任务结果回调\";为空则关闭自动注册;",
  24. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlAdminProperties"
  25. },
  26. {
  27. "name": "xxl.job.executor.access-token",
  28. "type": "java.lang.String",
  29. "description": "执行器通讯TOKEN [必填]:从配置文件中取不到值时使用默认值;",
  30. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
  31. "defaultValue": "default_token"
  32. },
  33. {
  34. "name": "xxl.job.executor.address",
  35. "type": "java.lang.String",
  36. "description": "服务注册地址,优先使用该配置作为注册地址 为空时使用内嵌服务 ”IP:PORT“ 作为注册地址 从而更灵活的支持容器类型执行器动态IP和动态映射端口问题",
  37. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties"
  38. },
  39. {
  40. "name": "xxl.job.executor.appname",
  41. "type": "java.lang.String",
  42. "description": "执行器AppName [选填]:执行器心跳注册分组依据;为空则关闭自动注册",
  43. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties"
  44. },
  45. {
  46. "name": "xxl.job.executor.ip",
  47. "type": "java.lang.String",
  48. "description": "执行器IP [选填]:默认为空表示自动获取IP,多网卡时可手动设置指定IP ,该IP不会绑定Host仅作为通讯实用;地址信息用于 \"执行器注册\" 和 \"调度中心请求并触发任务\"",
  49. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties"
  50. },
  51. {
  52. "name": "xxl.job.executor.log-path",
  53. "type": "java.lang.String",
  54. "description": "执行器运行日志文件存储磁盘路径 [选填] :需要对该路径拥有读写权限;为空则使用默认路径;",
  55. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
  56. "defaultValue": "logs\/applogs\/xxl-job\/jobhandler"
  57. },
  58. {
  59. "name": "xxl.job.executor.log-retention-days",
  60. "type": "java.lang.Integer",
  61. "description": "执行器日志保存天数 [选填] :值大于3时生效,启用执行器Log文件定期清理功能,否则不生效;",
  62. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
  63. "defaultValue": 30
  64. },
  65. {
  66. "name": "xxl.job.executor.port",
  67. "type": "java.lang.Integer",
  68. "description": "执行器端口号 [选填]:小于等于0则自动获取;默认端口为9099,单机部署多个执行器时,注意要配置不同执行器端口;",
  69. "sourceType": "com.pig4cloud.pig.common.job.properties.XxlExecutorProperties",
  70. "defaultValue": 9099
  71. }
  72. ],
  73. "hints": []
  74. }