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

102 lines
3.1 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
2019-05-22 13:31:44 +08:00
url: jdbc:mysql://130.120.3.235: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
2019-09-23 18:21:48 +08:00
password: gzzn09ap
2018-12-04 09:57:02 +08:00
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
2019-02-15 17:24:10 +08:00
servers: 130.120.3.234:9092,130.120.3.236:9092,130.120.3.238:9092
2018-11-23 09:08:15 +08:00
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
2019-02-15 17:24:10 +08:00
servers: 130.120.3.234:9092,130.120.3.236:9092,130.120.3.238:9092
2018-11-23 09:08:15 +08:00
zookeeper:
2019-02-15 17:24:10 +08:00
connect: 130.120.3.234:2181,130.120.3.236:2182,130.120.3.238:2183
2018-11-23 09:08:15 +08:00
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
2019-05-05 13:38:27 +08:00
ignoreMsg: ldm-*,regn-*,rsta-*,eror-* #忽略的消息列表
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 * * ?
# 航班发送信息定时
2019-01-18 14:15:13 +08:00
flightSendCron: "*/3 * * * * ?"
#计入历史航班数据的条件
hstCondition:
#航班到达超过多久则成为历史航班数据(单位:毫秒)
ARRIVE_HST_TIME: 3600000
#航班取消超过多久则成为历史航班数据(单位:毫秒)
CANCEL_HST_TIME: 3600000
#备降超过多久则成为历史航班数据 FROM CTU 本应降落到成都备降到其他地方(单位:毫秒)
FDIV_HST_TIME: 59400000
#计划时间超过多久则成为历史航班数据(单位:毫秒)
SODT_HST_TIME: 259200000
# 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-02-26 17:57:57 +08:00
name: docker-cluster
nodes: 130.120.3.234:9300,130.120.3.236:9300,130.120.3.238:9300
2019-01-14 10:58:19 +08:00
eureka:
client:
service-url:
defaultZone: http://130.120.3.231:94/eureka/
instance:
prefer-ip-address: true
adminApi:
schema: http
baseUrl: ${adminApi.schema}://ADMINAPI
2019-02-26 09:16:03 +08:00
ormsStandsUrl: ${adminApi.baseUrl}/basicdata/ormsStands
getAirbridgeCodeByStandCodeUrl: ${adminApi.baseUrl}/basicdata/ormsStands/{standCode}/airbridgeCode