Files
msgexchange-api/src/main/resources/application-dev.yml
T

95 lines
2.7 KiB
YAML
Raw Normal View History

2018-11-28 20:32:19 +08:00
spring:
2019-01-02 10:38:05 +08:00
jpa:
hibernate:
ddl-auto: none
naming:
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
2018-11-28 20:32:19 +08:00
datasource:
2019-01-02 10:38:05 +08:00
username: cdairport
password: 123456
url: jdbc:mysql://130.120.3.158:3306/cdairport?useSSL=false&useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&autoReconnect=true
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
2018-12-04 09:57:02 +08:00
redis:
2019-01-11 13:47:42 +08:00
cluster:
nodes: 130.120.3.234:6379,130.120.3.234:6380,130.120.3.236:6379,130.120.3.236:6380,130.120.3.238:6379,130.120.3.238:6380
2018-12-04 09:57:02 +08:00
password:
pool:
max-idle: 10
min-idle: 0
max-active: 200
max-wait: -1
timeout: 1000
2018-11-23 09:08:15 +08:00
kafka:
producer:
retries: 0
servers: 130.120.3.237:32796,130.120.3.237:32797,130.120.3.237:32798
linger: 1
batch:
size: 4096
buffer:
memory: 10240000
2018-11-23 09:08:15 +08:00
max:
request:
size: 10240000
consumer:
auto:
offset:
reset: latest
commit:
interval: 100
servers: 130.120.3.237:32796,130.120.3.237:32797,130.120.3.237:32798
2018-11-23 09:08:15 +08:00
zookeeper:
connect: 130.120.3.237:2181
session:
timeout: 6000
enable:
auto:
commit: true
topic: test
concurrency: 10
group:
2018-12-10 14:33:06 +08:00
id: test
2018-12-06 17:11:49 +08:00
msgExchange:
2019-01-03 10:23:15 +08:00
intervalSeconds: 1
waitDateLeftOffset: 600000
2018-12-14 11:37:19 +08:00
logstash:
2019-01-18 09:50:47 +08:00
host: 130.120.3.234:5000
scheduled:
2018-12-19 17:11:32 +08:00
#每日凌晨3:30分点采集历史数据 0 30 3 * * ?
flightInfoCron: 0 30 3 * * ?
corePoolSize: 10
maxPoolSize: 50
queueCapacity: 10
2019-01-02 10:38:05 +08:00
# 每日凌晨3:00 cminmsg 已处理数据转历史
cminmsgHisCron: 0 0 3 * * ?
# 航班发送信息定时
flightSendCron: "*/5 * * * * ?"
#计入历史航班数据的条件
hstCondition:
#航班到达超过多久则成为历史航班数据(单位:秒)
2018-12-19 17:11:32 +08:00
ARRIVE_HST_TIME: 3600
#航班取消超过多久则成为历史航班数据(单位:秒)
CANCEL_HST_TIME: 3600
#备降超过多久则成为历史航班数据 FROM CTU 本应降落到成都备降到其他地方(单位:秒)
FDIV_HST_TIME: 59400
#计划时间超过多久则成为历史航班数据(单位:秒)
SODT_HST_TIME: 259200
# Elasticsearch
# 9200端口是用来让HTTP REST API来访问ElasticSearch,而9300端口是传输层监听的默认端口
elasticsearch:
2019-01-18 09:50:47 +08:00
ip: 130.120.3.234
port: 9300
pool: 5
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
cluster:
2019-01-14 10:58:19 +08:00
name: docker-cluster
eureka:
client:
service-url:
defaultZone: http://130.120.3.231:94/eureka/
instance:
prefer-ip-address: true