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

82 lines
2.1 KiB
YAML
Raw Normal View History

2018-11-28 20:32:19 +08:00
spring:
datasource:
username: ommsxc
password: ommsxc
url: jdbc:oracle:thin:@130.120.3.236:1521/xe
driver: oracle.jdbc.driver.OracleDriver
tomcat:
max-active: 30
test-on-borrow: true
initial-size: 3
2018-12-04 09:57:02 +08:00
redis:
password:
database: 1
port: 6379
pool:
max-idle: 10
min-idle: 0
max-active: 200
max-wait: -1
host: 130.120.3.232
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:
2018-12-10 10:11:38 +08:00
intervalSeconds: 5
waitDateLeftOffset: 600000
2018-12-14 11:37:19 +08:00
logstash:
host: 130.120.3.233: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
#计入历史航班数据的条件
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:
ip: 130.120.3.233
port: 9300
pool: 5
#注意cluster.name需要与config/elasticsearch.yml中的cluster.name一致
cluster:
name: docker-cluster