Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-opsdoc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 310c4f1f
authored
Aug 29, 2024
by
chenxi
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交上线配置
1 parent
162d85a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
266 additions
and
1 deletions
1.73.0_八月/1.73.0配置中心配置.md
1.73.0_八月/1.73.0配置中心配置.md
View file @
310c4f1
...
@@ -54,7 +54,7 @@ hthx.sign.secret=8F42A93CD9B744D0E053650DA8C0AE40
...
@@ -54,7 +54,7 @@ hthx.sign.secret=8F42A93CD9B744D0E053650DA8C0AE40
hthx.create.sign
=
FAD7CEA40EE67B6DFBC4A8C959EC55DE
hthx.create.sign
=
FAD7CEA40EE67B6DFBC4A8C959EC55DE
hthx.api.host
=
https://iot-open-api.utfinancing.com
hthx.api.host
=
https://iot-open-api.utfinancing.com
# 海通恒信拆机单进单归属classId
# 海通恒信拆机单进单归属classId
ht.workorder.chaiji.classId
=
ht.workorder.chaiji.classId
=
530
# 海通恒信拆机单等待推送时间
# 海通恒信拆机单等待推送时间
ht.workorder.chaiji.wait.hour
=
72
ht.workorder.chaiji.wait.hour
=
72
# 设备激活推送定位和心跳给海通
# 设备激活推送定位和心跳给海通
...
@@ -169,4 +169,269 @@ ht.workorder.chaiji.wait.hour=72
...
@@ -169,4 +169,269 @@ ht.workorder.chaiji.wait.hour=72
#调用海通推送定时任务接口
#调用海通推送定时任务接口
biz.gps.kafka.hthxpush.host
=
biz.gps.kafka.hthxpush.host
=
```
## 五、项目 biz-gps-kafka-hthxpush
### 3、生产配置(新增的配置)
```
properties
server.servlet.context-
path
=
/
server.max-http-header-
size
=
3145728
server.tomcat.uri-
encoding
=
UTF-8
server.tomcat.max-
threads
=
1000
server.tomcat.min-spare-
threads
=
30
server.tomcat.basedir
=
/tmp
#sentinel-dashboard
spring.cloud.sentinel.transport.dashboard
=
http://192.168.0.63:8718
spring.cloud.sentinel.transport.port
=
8718
spring.cloud.sentinel.eager
=
true
feign.sentinel.enabled
=
true
feign.hystrix.enabled
=
false
#dubbo配置
dubbo.application.name
=
biz-gps-kafka-provider
dubbo.application.owner
=
biz-gps-kafka
dubbo.registry.address
=
zookeeper://dubbo.zk.glsx.com:2181
dubbo.cache.file
=
/home/jdkapp/.cache/biz_gps_kafka/dubbo-cache-biz_gps_kafka.properties
#kafka配置
assign.zookeeper.connect
=
gps.kafka.zk.glsx.com:2182
assign.group.id
=
gps-kafka-mysql-new-consumer-haitong
auto.commit.interval.ms
=
60000
auto.offset.reset
=
largest
assign.zookeeper.connect.timeout.ms
=
40000
assign.zookeeper.session.timeout.ms
=
40000
assign.rebalance.backoff.ms
=
3000
assign.rebalance.max.retries
=
8
#consumer
consumer.nThreads
=
8
#批量消费消息数
event.consumer.count
=
30000
#访问地址
#spring.redis.host=192.168.5.16
spring.redis.host
=
alarm.redis.glsx.com
#访问端口
spring.redis.port
=
6379
#注意,如果没有password,此处不设置值,但这一项要保留
spring.redis.password
=
[已加密]
#最大空闲数,数据库连接的最大空闲时间。超过空闲时间,数据库连接将被标记为不可用,然后被释放。设为0表示无限制。
spring.redis.maxIdle
=
300
#连接池的最大数据库连接数。设为0表示无限制
spring.redis.maxActive
=
600
#最大建立连接等待时间。如果超过此时间将接到异常。设为-1表示无限制。
spring.redis.maxWait
=
3000
#在borrow一个jedis实例时,是否提前进行alidate操作;如果为true,则得到的jedis实例均是可用的;
spring.redis.testOnBorrow
=
true
spring.redis.timeout
=
200000
spring.data.redis.repositories.enabled
=
false
#mybatis配置
mapper.not-
empty
=
false
mapper.identity
=
MYSQL
mapper.style
=
normal
mybatis.mapper-
locations
=
classpath*:/mappers/*Mapper.xml
mybatis.type-aliases-
package
=
com.glsx.biz.hthxpush.common
#pagehelper config
pagehelper.helperDialect
=
mysql
pagehelper.reasonable
=
true
pagehelper.supportMethodsArguments
=
true
pagehelper.params
=
count=countSql
# topic 超时停留报警 离线超时报警 低电量报警
assign.alarmcommon.topic
=
gps_alarm_common
# topic 断电报警 光感报警
assign.gpsalarm.topic
=
gps_alarm_haitong
#设备登录
topic.device.login
=
gps_login
# 设备登出
topic.device.loginout
=
gps_logout
# 设备在线
topic.device.online
=
gps_online
# 设备休眠
topic.device.sleep
=
gps_sleep
# 设备状态
topic.device.devstate
=
device_state
# gps和基站
topic.device.gpsandbs
=
gps_gpsandbs_haitong
# GPS上点
topic.device.gps
=
gps_gpsdata_haitong
# 基站上点
topic.device.bs
=
gps_basestation_haitong
# 围栏
assign.electricFence.topic
=
gps_fence_alarm
assign.fspResp.topic
=
Q_FspResp_Kafka
assign.homeOffset.topic
=
gps_home_offset
#试驾围栏topic
fence.drive.topic
=
fence_drive
#设备统计相关
topic.device.statactive
=
devstat_active
topic.device.statmileage
=
devstat_mileage
#大数据研判警情
topic.stujudge
=
black_abnormal_area_alarm
#GEO 请求服务地址以及端口
map.geo.host
=
poi.ice.glsx.com
map.geo.host.port
=
10081
#基站解析方式选择 JUHE/ICE(聚合解析/ICE基站)
basestation.analyze.choice
=
ICE
#basestation.analyze.choice=JUHE
ice.bs.server.host
=
192.168.5.27
ice.bs.server.port
=
10945
ice.bs.backup.server.host
=
192.168.5.26
ice.bs.backup.server.port
=
10945
#ice服务配置
ice.gps.server.host
=
192.168.5.27
ice.gps.server.port
=
23469
ice.gps.backup.server.host
=
192.168.5.26
ice.gps.backup.server.port
=
23469
#设备状态查询
ice.device.state.host
=
192.168.5.27
ice.device.state.port
=
30080
#设备里程查询
ice.device.mileage.host
=
192.168.5.26
ice.device.mileage.port
=
23477
ice.service.tryCount
=
3
# ice 服务相关配置
ice.switch.fun.open
=
15
ice.init.tryCount
=
3
ice.init.connections
=
3
# ice 服务连接失败后,重连等待的毫秒数,目前一次连接等待 10 秒
ice.service.tryWaitTime
=
2000
#hbase最大请求配置
hbase.max.reqCount
=
2000
ddbox.gps.filterLevel
=
90
#调频设置时间间隔(分钟)
gps.setFrequency.timeInterval
=
7
#过滤报警设备批次号
alarm.filter.batch
=
4161008
#过滤报警设备设备号
alarm.filter.deviceno
=
4160915950,4160915951,4160915952
CLASSID_FOR_KAFKA_CONSUMER
=
9
#GPS_ALARM_BLACKOUT=2
#判断设备是否为SPECIAL_GT
special.gt.first
=
15,24,17,46,38
GPS_ALARM_LOWERVOL
=
2
GPS_ALARM_BLACKOUT
=
2
#gps天线开路报警指定上报次数有效
GPS_ALARM_GPSOPEN
=
5
#E盾小程序地址
eshield_mini_access_url
=
https://wx.glsx.com.cn/otmini/wechatPublic/postmessage
# 推送制定分类
push.eshield.groupIds
=
232
#国金资管接口地址(测试)
guojinziguan.baseurl
=
https://am.zxiaowei.com/api/receiver
guojinziguan.gpsBaseUrl
=
https://gpsjserver.zxiaowei.com/gpsserver
guojinziguan.biz_cert_id
=
cb8e7614-ec0a-11e9-9abc-00163e0020e2
guojinziguan.client_id
=
cc270c95-ec0a-11e9-9abc-00163e0020e2
guojinziguan.client_secret
=
ccbfca26-ec0a-11e9-9abc-00163e0020e2
#数据库配置
#Datasource
spring.datasource.driverClassName
=
com.mysql.cj.jdbc.Driver
#测试数据库
spring.datasource.url
=
jdbc:mysql://fin.db.glsx.com:3307/gps?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&serverTimezone=Asia/Shanghai&allowMultiQueries=true
spring.datasource.username
=
jieru89
spring.datasource.password
=
[已加密]2cabbdfdfc7c24eabe39a6982a8b9121
#高危
topic.highRisk.data
=
highriskdata
#二押
topic.second.data
=
seconddata
#批量大小,积满入库一次
blocking.queue.size
=
60000
#休眠时间
blocking.queue.sleepTime
=
300000
assign.group.id.old
=
biz-gps-kafka-consumer-haitong
#更新切割的list大小
update.partionSize
=
10000
obd.alert.topic
=
alert
obd.basestation.topic
=
baseStation
obd.crash.topic
=
crashalert
obd.gps.topic
=
gpsData
obd.insert.topic
=
insertalert
obd.ignition.topic
=
ignition
obd.flameout.topic
=
flameout
assign.group.id.obd
=
biz-gps-kafka-consumer-obd-haitong
assign.zookeeper.connect.obd
=
ddbox.kafka.zk.glsx.com:2181
#推送海通数据地址
haitong_alarm_access_url
=
https://iot-open-api.utfinancing.com/hthxiot/guanglian/gpsdata
#推送海通数据密钥
haitong_alarm_hex_key
=
D299557CC2BA2E30901BA5FCF504937D
#ICE调用接口
#new.devicemonitor.feign.url=https://eshield.didihu.com.cn/devicemonitor/api
new.devicemonitor.feign.url
=
https://eshield.didihu.com.cn/devicemonitor/api
#标准接口地址
tiger.shield.interface.server.url
=
http://e-shield.didihu.com.cn/otsi
#海通报警数据集合的最大长度
haitong_alarm_max_length
=
100
#特殊光感报警设备类型判断
compatible.special.light.alarm
=
GT703B,GT803B,GT803
#0317
haitong_loc_query_sql_flag
=
FALSE
#设备警情推送到绑定业务队列
kafka.metadata.broker.list
=
newbiz.kafka.glsx.com:9094
#gpsba推送设备号kafka配置
gpsbs.assign.zookeeper.connect
=
newbiz.kafka.zk.glsx.com:2183
gpsbs.assign.group.id
=
biz-gps-kafka-hthxpush-consumer-release
gpsbs.auto.commit.interval.ms
=
60000
gpsbs.auto.offset.reset
=
largest
gpsbs.assign.zookeeper.connect.timeout.ms
=
40000
gpsbs.assign.zookeeper.session.timeout.ms
=
40000
gpsbs.assign.rebalance.backoff.ms
=
3000
gpsbs.assign.rebalance.max.retries
=
8
gps.bs.delay.push.sn.topic
=
gpsBsDelayPushSnHaitong
#是否拦截海通数据推送 true表示拦截 false表示不拦截
haitong_push_data_flag
=
FALSE
# 使用ICE标志
use_ice_instance_flag
=
TRUE
# ICE连接地址
ice.server.bs-
server
=
BsdObjectId:default -h 192.168.5.27 -p 10945:default -h 192.168.5.26 -p 10945
#ICE超时时间
ice.server.ice-low-
timeout
=
20000
# 需要上报翻转报警的设备
source.special.need.flipalarm.first
=
96
```
```
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment