应用容器数据服务
配置文件hm_pro(test)_nodeserver.properties
日志配置
log.level=INFO
日志级别,含INFO, ERR, WARNING, DEBUG, FINE, FINER, ALL
log.debug=false
是否开启debug日志
log.fsize=10
日志单次输出块大小
log.buffersize=150
日志文件每150行归集一次
log.collectEnable=false
是否收集日志
log.collectMatch=
收集指定日志的正则匹配
meta.datacenterid=1
配置数据中心id
meta.nodetype=\u5E94\u7528\u5BB9\u5668\u6570\u636E\u670D\u52A1
节点名称,UTF8编码
基础feature配置
message producer 消息生产者
resource.messageproducer.class=org.uavstack.resources.common.messaging.MessageProducerResourceComponent
消息生产者组件主类
resource.messageproducer.properties=
feature属性配置,for example: key1=value1,key2=value2,...
resource.messageproducer.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
消息中间件服务(RocketMQ)地址,多个以分号隔开
resource.messageproducer.messagingthreshold=30
消息压缩阈值,超过则压缩发送,单位kb
System Http Invoker http调用客户端
resource.httpinvoke.class=org.uavstack.resources.common.invoker.HttpInvokerResourceComponent
http调用组件类
resource.httpinvoke.properties=
feature属性配置,for example:key1=value1,key2=value2,...
resource.httpinvoke.http.client.maxperroute=20
客户端单路由最大连接数
resource.httpinvoke.http.client.maxtotal=100
客户端最大连接数
resource.httpinvoke.http.client.sotimeout=10000
客户端socket连接超时时间,单位ms
resource.httpinvoke.http.client.conntimeout=10000
客户端连接超时时间,单位ms
resource.httpinvoke.http.client.reqtimeout=10000
客户端请求超时时间,单位ms
nodeoperagent 节点控制feature
feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar
节点控制feature主jar,用于classloader隔离
feature.nodeoperagent.enable=true
启用节点控制feature
feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent
节点控制feature主类
feature.nodeoperagent.http.port=10145
节点控制服务端口
notifyagent 报警feature
feature.notifyagent.loader=com.creditease.uav.notifymanager.jar
报警feature主jar,用于classloader隔离
feature.notifyagent.enable=true
启用报警feature
feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent
报警feature主类
feature.notifyagent.properties=
报警feature属性配置,for example: key1=value1,key2=value2,...
feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler
报警feature主类
feature.notifyagent.expireTime=14400
报警事件过期时间,单位s
feature.notifyagent.frozenTime=300
报警事件压制时间,单位s
heartbeatclientagent 心跳客户端feature
feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar
心跳客户端feature主jar,用于classloader隔离
feature.hbclientagent.enable=true
启用心跳客户端feature
feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent
心跳客户端feature主类
feature.hbclientagent.properties=
心跳客户端feature属性配置,for example: key1=value1,key2=value2,...
feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler
心跳发送处理类
feature.hbclientagent.hbservers=127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011,127.0.0.1:8011
心跳服务器地址
feature.hbclientagent.interval=15000
心跳发送间隔,单位ms
功能feature配置
HealthManager 应用容器数据服务feature
feature.healthmanager.loader=com.creditease.uav.healthmanager-1.0.jar
HealthManager服务feature主jar,用于classloader隔离
feature.healthmanager.enable=true
启用HealthManager服务feature
feature.healthmanager.components=com.creditease.uav.feature.HealthManager
HealthManager服务feature主类
feature.healthmanager.properties=
HealthManager服务feature属性配置,for example: key1=value1,key2=value2,...
feature.healthmanager.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
HM实时数据信息消息队列MQ地址,可多个,用','隔开
feature.healthmanager.MT_Monitor.consumethreadmax=10
实时数据消费最大线程数
feature.healthmanager.MT_Notify.consumethreadmax=10
预警数据消费最大线程数
feature.healthmanager.MT_Profile.consumethreadmax=10
画像数据消费最大线程数
feature.healthmanager.MT_Node.consumethreadmax=10
节点数据消费最大线程数
feature.healthmanager.MT_Monitorconsumestopinterval=0
实时数据消费间隔时间,单位ms
feature.healthmanager.MT_Notify.consumestopinterval=0
预警数据消费间隔时间,单位ms
feature.healthmanager.MT_Profile.consumestopinterval=0
画像数据消费间隔时间,单位ms
feature.healthmanager.MT_Node.consumestopinterval=0
节点数据消费间隔时间,单位ms
feature.healthmanager.MT_Monitor.enable=false
实时数据消费是否开启
feature.healthmanager.MT_Notify.enable=false
预警数据消费是否开启
feature.healthmanager.MT_Profile.enable=false
画像数据消费是否开启
feature.healthmanager.MT_Node.enable=true
应用容器数据消费是否开启
feature.healthmanager.healthMangerHandlers=com.creditease.uav.feature.healthmanager.http.handlers.HMDataStoreQueryHandler,com.creditease.uav.feature.healthmanager.http.handlers.HMCacheQueryHandler
应用容器数据查询服务处理类
feature.healthmanager.http.port=8045
应用容器数据服务端口
feature.healthmanager.http.backlog=10
应用容器数据服务连接队列长度
feature.healthmanager.http.core=10
应用容器数据服务核心线程数
feature.healthmanager.http.max=200
应用容器数据服务最大线程数
feature.healthmanager.http.bqsize=5
应用容器数据服务队列长度
profile data cache画像数据缓存
feature.healthmanager.lifekeeper.enable=false
是否开启心跳判活
feature.healthmanager.lifekeeper.interval=60000
心跳判活间隔时间,单位ms
feature.healthmanager.store.addr=127.0.0.1:6379
应用容器数据缓存(redis)地址
feature.healthmanager.store.concurrent.min=100
redis客户端线程池最小线程数
feature.healthmanager.store.concurrent.max=500
redis客户端线程池最大线程数
feature.healthmanager.store.concurrent.bqsize=5
redis客户端线程池队列长度
feature.healthmanager.store.concurrent.pwd=
redis密码
feature.DBSource.MongoDB4Profile
feature.healthmanager.MT_Profile.ds.enable=true
是否开启画像数据存储(MongoDB)
feature.healthmanager.MT_Profile.ds.servers=127.0.0.1:27017
存储画像数据的数据源地址(MongoDB)
feature.healthmanager.MT_Profile.ds.db=profileDataStore
存储画像数据的MongoDB数据库名称
feature.healthmanager.MT_Profile.ds.power=profileDataStore
存储画像数据的MongoDB数据库权限
feature.healthmanager.MT_Profile.ds.usr=
存储画像数据的MongoDB用户名
feature.healthmanager.MT_Profile.ds.pwd=
存储画像数据的MongoDB密码
feature.DBSource.MongoDB4Notification
feature.healthmanager.MT_Notify.ds.enable=true
是否开启预警数据存储(MongoDB)
feature.healthmanager.MT_Notify.ds.servers=127.0.0.1:27017
存储预警数据的数据源地址(MongoDB)
feature.healthmanager.MT_Notify.ds.db=notifyDataStore
存储预警数据的MongoDB数据库名称
feature.healthmanager.MT_Notify.ds.power=notifyDataStore
存储预警数据的MongoDB数据库权限
feature.healthmanager.MT_Notify.ds.usr=
存储预警数据的MongoDB数据库用户名
feature.healthmanager.MT_Notify.ds.pwd=
存储预警数据的MongoDB数据库密码
feature.DBSource.OpenTSDB4Monitor
feature.healthmanager.MT_Monitor.ds.enable=true
是否开启实时数据存储(OpenTSDB)
feature.healthmanager.MT_Monitor.ds.servers=127.0.0.1:4243,127.0.0.1:4243
存储实时数据的数据源地址(OpenTSDB)
feature.healthmanager.MT_Monitor.ds.db=monitorDataStore
存储实时数据的OpenTSDB数据库名称
feature.healthmanager.MT_Monitor.ds.maxPerRoute=100
存储实时数据的OpenTSDB数据库客户端单路由最大连接数
feature.healthmanager.MT_Monitor.ds.maxRoute=500
存储实时数据的OpenTSDB数据库客户端最大连接数
feature.healthmanager.MT_Monitor.ds.soTimeout=10000
存储实时数据的OpenTSDB数据库客户端socket连接超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.connTimeout=5000
存储实时数据的OpenTSDB数据库客户端连接超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.reqTimeout=5000
存储实时数据的OpenTSDB数据库客户端请求超时时间,单位ms
feature.healthmanager.MT_Monitor.ds.batchsize=500
存储实时数据的OpenTSDB数据库批量处理个数
feature.healthmanager.MT_Monitor.ds.retry=1
存储实时数据的OpenTSDB数据库发送失败时重试次数
feature.healthmanager.MT_Monitor.ds.expire=30000
存储实时数据的OpenTSDB数据库操作过期时间
feature.healthmanager.MT_Monitor.ds.cachetime=5
存储实时数据的OpenTSDB数据库缓存数据时间
feature.DBSource.OpenTSDB4Node
feature.healthmanager.MT_Node.ds.enable=true
是否开启应用容器数据存储(OpenTSDB)
feature.healthmanager.MT_Node.ds.servers=127.0.0.1:4243,127.0.0.1:4243
存储应用容器数据的数据源地址(OpenTSDB)
feature.healthmanager.MT_Node.ds.db=nodeDataStore
存储应用容器数据的OpenTSDB数据库名称
feature.healthmanager.MT_Node.ds.maxPerRoute=10
存储应用容器数据的OpenTSDB数据库客户端单路由最大连接数
feature.healthmanager.MT_Node.ds.maxRoute=50
存储应用容器数据的OpenTSDB数据库客户端最大连接数
feature.healthmanager.MT_Node.ds.soTimeout=10000
存储应用容器数据的OpenTSDB数据库客户端socket连接超时时间,单位ms
feature.healthmanager.MT_Node.ds.connTimeout=5000
存储应用容器数据的OpenTSDB数据库客户端连接超时时间,单位ms
feature.healthmanager.MT_Node.ds.reqTimeout=3000
存储应用容器数据的OpenTSDB数据库客户端请求超时时间,单位ms
feature.healthmanager.MT_Node.ds.retry=3
存储应用容器数据的OpenTSDB数据库存储失败时重试次数
feature.healthmanager.MT_Node.ds.batchsize=50
存储应用容器数据的OpenTSDB数据库批量处理个数
feature.healthmanager.MT_Node.ds.expire=30000
存储应用容器数据的OpenTSDB数据库操作过期时间