application.properties
732 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
spring.application.name=cim-server
# web port
server.port=8081
# 是否打开swagger
swagger.enable = true
# cim 服务器端口
cim.server.port=11211
logging.level.root=info
# 关闭健康检查权限
management.security.enabled=false
# SpringAdmin 地址
spring.boot.admin.url=http://127.0.0.1:8888
#自定义监控端点 key
monitor.channel.map.key=channelMap
# 是否注册 zk
app.zk.switch=true
# zk 地址
app.zk.addr=118.25.173.200:9528
# zk 连接超时时限
app.zk.connect.timeout=15000
# zk 注册根节点
app.zk.root=/route
# 清除路由信息
cim.clear.route.request.url=http://localhost:8083/offLine
# 检测多少秒没有收到客户端心跳后服务端关闭连接 单位秒
cim.heartbeat.time = 30