New file |
| | |
| | | server: |
| | | port: 8083 |
| | | tomcat: |
| | | uri-encoding: UTF-8 |
| | | #最小线程数 |
| | | min-spare-threads: 500 |
| | | #最大线程数 |
| | | max-threads: 2500 |
| | | #最大链接数 |
| | | max-connections: 6500 |
| | | #最大等待队列长度 |
| | | accept-count: 1000 |
| | | spring: |
| | | profiles: |
| | | active: dev |
| | | include: |
| | | moduleFormColumn |
| | | application: |
| | | name: screen-job |
| | | redis: |
| | | host: r-bp1hez4g7rkqjswpaypd1.redis.rds.aliyuncs.com |
| | | port: 6379 |
| | | password: moral_123456 |
| | | timeout: 30000 |
| | | jedis: |
| | | pool: |
| | | max-active: 256 |
| | | max-wait: 30000 |
| | | max-idle: 64 |
| | | min-idle: 32 |
| | | lettuce: |
| | | pool: |
| | | max-active: 256 |
| | | max-idle: 64 |
| | | max-wait: 30000 |
| | | min-idle: 32 |
| | | tokenRedis: |
| | | host: r-bp1hez4g7rkqjswpaypd1.redis.rds.aliyuncs.com |
| | | port: 6379 |
| | | password: moral_123456 |
| | | timeout: 30000 |
| | | database: 14 |
| | | pool: |
| | | max-active: 256 |
| | | max-wait: 30000 |
| | | max-idle: 64 |
| | | min-idle: 32 |
| | | |
| | | datasource: |
| | | minIdle: 1 |
| | | time-between-eviction-runs-millis: 60000 |
| | | max-active: 20 |
| | | test-while-idle: true |
| | | validation-query: select 'x' |
| | | filters: stat |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | max-wait: 60000 |
| | | url: jdbc:mysql://rm-bp1pr3rx9m3fnkwsk8o2.mysql.rds.aliyuncs.com:3306/moral?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: moral_123456 |
| | | test-on-borrow: false |
| | | sql-script-encoding: utf-8 |
| | | pool-prepared-statements: true |
| | | min-evictable-idle-time-millis: 300000 |
| | | initial-size: 1 |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | max-conn-lifetime-millis: 20 |
| | | test-on-return: false |
| | | |
| | | mybatis-plus: |
| | | mapper-locations: classpath:mapper/*.xml |
| | | global-config: |
| | | db-config: |
| | | id-type: auto |
| | | field-strategy: NOT_EMPTY |
| | | db-type: MYSQL |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | call-setters-on-nulls: true |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | |
| | | logging: |
| | | config: classpath:logback.xml |
| | | |
| | | xxl: |
| | | job: |
| | | admin: |
| | | # 调度中心部署地址:如调度中心集群部署存在多个地址则用逗号分隔。执行器将会使用该地址进行"执行器心跳注册"和"任务结果回调" |
| | | addresses: http://127.0.0.1:8090/xxl-job-admin |
| | | |
| | | #执行器通讯TOKEN,无TOKEN则可以空白 |
| | | accessToken: |
| | | |
| | | #执行器配置,可以配置多个 |
| | | executor: |
| | | # 执行器的名字和地址信息配置:是该执行器心跳注册分组依据; |
| | | #地址信息用于"调度中心请求并触发任务"和"执行器注册"。 |
| | | #执行器默认端口为9999,执行器IP默认为空表示自动获取IP,多网卡时可手动设置指定IP,该IP不会绑定Host仅作为通讯实用。 |
| | | #单机部署多个执行器时,注意要配置不同执行器端口 |
| | | appname: xxl-job-executor-sample-springboot |
| | | ip: |
| | | port: 9999 |
| | | #执行器运行日志文件存储的磁盘位置,需要对该路径拥有读写权限 |
| | | logpath: /data/applogs/xxl-job/jobhandler |
| | | #执行器日志文件定期清理功能,指定日志保存天数,过期自动删除,最少保存3天否则不生效,-1则不启动。 |
| | | logretentiondays: -1 |
| | | |
| | | |
| | | |