admin
2022-08-25 c9db68e33f90231b064b8864fc69ccf7d25f5e0b
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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
server:
  port: 80
  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: 172.16.16.44
      port: 27017
      database: lijin
      authentication-database: admin
  datasource:
    #gz-cdb-r13d0yi9.sql.tencentcdb.com:62929
    #172.16.16.17:3306
    url: jdbc:mysql://172.16.16.17:3306/ec_lijin?&useTimezone=true&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
 
  redis:
    host: 172.16.16.15
    port: 6379
    password: crs-43yhgz0i:Yeshi2016@
    timeout: 5000ms
    database: 8
    lettuce:
      pool:
        max-active: 1024
        max-wait: 10000ms
        max-idle: 200
        time-between-eviction-runs: 60000ms
        min-idle: 8
    jedis:
        pool:
          max-total: 1024
          max-wait: 10000ms
          max-idle: 200
          time-between-eviction-runs: 60000ms
          min-idle: 8
          test_on_borrow: true
 
 
mybatis:
  mapper-locations : classpath:mapper/*.xml
  type-aliases-package: com.ks.goldcorn.pojo.DO
  configuration:
    log-impl: org.apache.ibatis.logging.slf4j.Slf4jImpl
 
 
dubbo:
  application:
    name: lijin-provider
  registry:
    protocol: zookeeper
#    address: tsfconsul://127.0.0.1:8500
    address: zookeeper://172.16.16.46:2181
    client: curator
  protocol:
    name: dubbo
    port: 20904
  scan:
    base-packages: com.ks.lijin.service.remote
  provider:
    timeout: 30000
#    host: 193.112.35.168
xxl:
  job:
    accessToken:
    executor:
      appname: service-lijin
      ip:
      logpath: /data/applogs/xxl-job/jobhandler
      logretentiondays: -1
      port: 9994
    admin:
      addresses: http://1.14.235.17:9000/xxl-job-admin
logging:
  level:
    com:
      ks:
        lijin:
          mapper: debug
    org.springframework.data.mongodb.core: DEBUG
 
log:
  config:
    kafka:
      isSend: true
      # kafka的地址,使用时必须配置
      bootstrapServers: 172.16.16.38:9092
      # 日志发往的topic,使用时必须配置
      topic: log_service_lijin_info
      # 批量上传数目,达到该数目后发送
      batchSize: 5
      # 间隔时间后发送,即使未达到批量上传最大数,间隔时间到了也会发送,单位为毫秒
      lingerMs: 1000
      # 数据压缩类型
      compressionType: gzip
      # 重试次数
      retries: 3
      #最大消息大小,此处设为5M
      maxRequestSize: 5242880