peter
2025-07-11 19be3926c88d19645f43dd926d00615225f30802
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
server:
  port: 8086
spring:
  datasource:
    url: jdbc:mysql://127.0.0.1:6306/trading_order_n?allowMultiQueries=true&useSSL=false&useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true
    username: trading_order_n
    password: 3BRTfLGX3j44WeAb
    driver-class-name: com.mysql.cj.jdbc.Driver
    type: com.zaxxer.hikari.HikariDataSource
    hikari:
      minimum-idle: 0
      maximum-pool-size: 20
      idle-timeout: 25000
      auto-commit: true
      connection-test-query: SELECT 1
    cache:
      type: redis
      redis:
        cache-null-values: true
  redis:
    redisson:
      config: classpath:redisson/redisson-dev.yml
logging:
  config: classpath:logback/logback-prod.xml
 
alltick:
  token: 3ba36ca15660073739f25c4b1512086a-c-app
  trade-tick: "https://quote.alltick.io/quote-b-api/trade-tick?token=${alltick.token}&query={1}"
  trade-kline: "https://quote.alltick.io/quote-b-api/kline?token=${alltick.token}&query={1}"
  batch-kline: "https://quote.alltick.io/quote-b-api/batch-kline?token=${alltick.token}"
 
jetcache:
  statIntervalMinutes: 1
  default: # 默认default,可以配置更多的area
    type: linkedhashmap # 已支持可选:linkedhashmap、caffeine
    keyConvertor: fastjson # key转换器
  remote:
    default:
      # 缓存类型。tair、redis为当前支持的远程缓存
      type: redis
      keyConvertor: fastjson
      # 采用Java序列化存储
      valueEncoder: java
      valueDecoder: java
      poolConfig:
        minIdle: 5
        maxIdle: 20
        maxTotal: 50
      host: 127.0.0.1
      port: 6380