admin
2021-09-17 a2c56bd6b79d2b8ca2c4c44a254ad2958fb72bca
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
server:
  port: 8082
  tomcat:
    uri-encoding: UTF-8
 
spring:
  main:
    allow-bean-definition-overriding: true
  http:
    encoding:
      force: true
      charset: UTF-8
      enabled: true
  data:
    mongodb:
      username: yeshi
      password: 'Yeshi2016@'
      host: 193.112.35.168
      port: 27016
      database: push
      authentication-database: admin
  redis:
    host: 193.112.35.168 #193.112.34.40
    port: 6380
    #Yeshi2016@
    password: 'crs-43yhgz0i:Yeshi2016@'
    timeout: 5000
    database: 10
    lettuce:
      pool:
        max-active: 200 #连接池最大连接数
        max-wait: 5000 #连接池最大阻塞等待时间
        max-idle: 50 #连接池中的最大空闲连接
        time-between-eviction-runs: 60000 #每隔多长时间运行一次空闲连接回收器(独立线程)
        min-idle: 0 #连接池中的最小空闲连接
      shutdown-timeout: 5000 #连接关闭超时时间
    jedis:
      pool:
          max-total: 1024
          max-wait: 10000ms
          max-idle: 200
          test_on_borrow: true
          min-idle: 8
 
 
  datasource:
    url: jdbc:mysql://gz-cdb-r13d0yi9.sql.tencentcdb.com:62929/bpush?serverTimezone=GMT%2B8
    username: root
    password: Yeshi2016@
    driver-class-name: com.mysql.jdbc.Driver
    type: com.alibaba.druid.pool.DruidDataSource
    druid:
      initial-size: 8
      min-idle: 1
      max-active: 20
      max-wait: 60000
      time-between-eviction-runsMillis: 60000
      min-evictable-idle-timeMillis: 300000
      validation-query: select 'x' FROM DUAL
      test-while-idle: true
      test-on-borrow: false
      test-on-return: false
      pool-prepared-statements: true
      max-open-prepared-statements: 20
      max-pool-prepared-statement-per-connection-size: 20
      filters: stat
      connection-properties: druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
      use-global-data-source-stat: true
mybatis:
  mapper-locations: classpath:mapper/*.xml
  type-aliases-package: com.ks.goldcorn.pojo.DO
  configuration:
    log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
 
xxl:
  job:
    accessToken:
    executor:
      appname: service-push
      ip:
      logpath: /data/applogs/xxl-job/jobhandler
      logretentiondays: -1
      port: 9999
    admin:
      addresses: http://1.14.235.17:9000/xxl-job-admin
 
 
dubbo:
  application:
    name: push-service
  registry:
    protocol: zookeeper
    address: zookeeper://193.112.35.168:2182 # 134.175.68.214   134.175.68.214:2181
    client: curator
  protocol:
    name: dubbo
    port: 20882
    host: 192.168.3.122
  scan:
    base-packages: com.ks.push.service.remote
  provider:
    timeout: 10000