代码拉取完成,页面将自动刷新
同步操作将从 HTShop/config 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
## spring security 配置
security:
oauth2:
client:
client-id: ENC(tz2NM4GcmnE7sNJTYL8ZSg==)
client-secret: ENC(tz2NM4GcmnE7sNJTYL8ZSg==)
scope: server
## 定时任务
spring:
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: taSDmyGfHBC9GdvvKw62
url: jdbc:mysql://47.110.125.220:3306/pigxx_job1.1?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8
data:
mongodb:
uri: mongodb://root:fdfgdfgsfgdTYTYJMHMDFD14545@47.110.125.220:27017/test
elasticjob:
# 分布式任务协调依赖zookeeper
zookeeper:
server-lists: 47.110.125.220:2181
namespace: pigx-daemon-elastic
# 普通任务
simples:
spring-simple-job:
job-class: com.pig4cloud.pigx.daemon.elastic.job.PigxSimpleJob
cron: 0 0 0/1 * * ?
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxElasticJobListener
spring-simple-job2:
job-class: com.pig4cloud.pigx.daemon.elastic.job.PigxSimpleJob2
cron: 0 0 0/1 * * ?
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxElasticJobListener
#每年删除旧库,创建新库
spring-simple-FaceGroupYearJob:
job-class: com.pig4cloud.pigx.daemon.elastic.job.FaceGroupYearJob
cron: 0 0 0 1 1 ? *
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
distributed-listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxDistributeElasticJobListener
started-timeout-milliseconds: 50000
completed-timeout-milliseconds: 100000
#每月删除旧库,创建新库
spring-simple-FaceGroupMonthJob:
job-class: com.pig4cloud.pigx.daemon.elastic.job.FaceGroupMonthJob
cron: 0 0 0 1 1/1 ?
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
distributed-listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxDistributeElasticJobListener
started-timeout-milliseconds: 50000
completed-timeout-milliseconds: 100000
#每周删除旧库,创建新库
spring-simple-FaceGroupWeekJob:
job-class: com.pig4cloud.pigx.daemon.elastic.job.FaceGroupWeekJob
cron: 0 0 0 ? * MON
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
distributed-listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxDistributeElasticJobListener
started-timeout-milliseconds: 50000
completed-timeout-milliseconds: 100000
#每天删除旧库,创建新库
spring-simple-FaceGroupDayJob:
job-class: com.pig4cloud.pigx.daemon.elastic.job.FaceGroupDayJob
cron: 0 0 0 1/1 * ?
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
distributed-listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxDistributeElasticJobListener
started-timeout-milliseconds: 50000
completed-timeout-milliseconds: 100000
#每小时删除旧库,创建新库
spring-simple-FaceGroupHourJob:
job-class: com.pig4cloud.pigx.daemon.elastic.job.FaceGroupHourJob
cron: 0 0 0/1 * * ?
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
eventTraceRdbDataSource: 'dataSource'
listener:
distributed-listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxDistributeElasticJobListener
started-timeout-milliseconds: 50000
completed-timeout-milliseconds: 100000
# 简单任务
dataflows:
spring-dataflow-job:
job-class: com.pig4cloud.pigx.daemon.elastic.job.PigxDataflowJob
cron: 0 0 0/1 * * ?
sharding-total-count: 3
sharding-item-parameters: 0=service1,1=service2,2=service3
streaming-process: true
eventTraceRdbDataSource: 'dataSource'
listener:
distributed-listener-class: com.pig4cloud.pigx.daemon.elastic.listener.PigxDistributeElasticJobListener
started-timeout-milliseconds: 50000
completed-timeout-milliseconds: 100000
face:
threadPool:
num: 3
maxNum: 3
queue: 3
##image:
##from: /home/images/face/from/
##to: /home/images/face/to/
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。