新增 动态消息转历史数据 定时器功能

This commit is contained in:
fanghongchao
2018-12-14 18:17:40 +08:00
parent 6ff3926429
commit 3070e8c551
9 changed files with 644 additions and 2 deletions
+21 -1
View File
@@ -53,4 +53,24 @@ msgExchange:
intervalSeconds: 5
logstash:
host: 130.120.3.233:5000
scheduled:
#每日凌晨2点采集历史数据
#flightInfoCron: 0 14 18 * * ?
flightInfoCron: 0 0 2 * * ?
corePoolSize: 10
maxPoolSize: 50
queueCapacity: 10
#计入历史航班数据的条件
hstCondition:
#航班到达超过多久则成为历史航班数据(单位:秒)
ARRIVE_HST_TIME: 7200
# 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