实时数据服务

配置文件hm_pro(test)_moserver.properties

日志配置

log.level=INFO

日志级别,含INFO, ERR, WARNING, DEBUG, FINE, FINER, ALL

log.debug=false

是否开启debug日志

log.fsize=10

日志单次输出块大小

log.collectEnable=false

是否收集日志

log.collectMatch=

收集指定日志的正则匹配

meta.datacenterid=1

节点ID

meta.nodetype=\u5FC3\u8DF3\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=10140

节点控制服务端口

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

心跳服务器地址

feature.hbclientagent.interval=15000

心跳发送间隔,单位ms

功能feature配置

HealthManager 实时数据服务feature

feature.healthmanager.loader=com.creditease.uav.healthmanager-1.0.jar

实时数据服务feature主jar,用于classloader隔离

feature.healthmanager.enable=true

启用实时数据服务feature

feature.healthmanager.components=com.creditease.uav.feature.HealthManager

实时数据服务feature主类

feature.healthmanager.properties=

实时数据服务属性配置,for example: key1=value1,key2=value2,...

feature.healthmanager.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876

实时数据消息队列MQ地址,可多个,用','隔开

feature.healthmanager.MT_Monitor.consumethreadmax=50

实时数据消费最大线程数

feature.healthmanager.MT_Notify.consumethreadmax=10

预警数据消费最大线程数

feature.healthmanager.MT_Profile.consumethreadmax=10

画像数据消费最大线程数

feature.healthmanager.MT_Node.consumethreadmax=10

应用容器数据消费最大线程数

feature.healthmanager.MT_Monitor.consumestopinterval=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=true

是否消费实时数据

feature.healthmanager.MT_Notify.enable=false

是否消费预警数据

feature.healthmanager.MT_Profile.enable=false

是否消费画像数据

feature.healthmanager.MT_Node.enable=false

是否消费应用容器数据

feature.healthmanager.healthMangerHandlers=com.creditease.uav.feature.healthmanager.http.handlers.HMDataStoreQueryHandler,com.creditease.uav.feature.healthmanager.http.handlers.HMCacheQueryHandler

实时数据处理类

feature.healthmanager.http.port=8042

实时数据查询端口

feature.healthmanager.http.backlog=10

实时数据查询服务连接队列长度

feature.healthmanager.http.core=10

实时数据查询服务核心线程数

feature.healthmanager.http.max=200

实时数据查询服务最大线程数

feature.healthmanager.http.bqsize=5

实时数据查询服务队列长度

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

是否启用画像数据的数据源(mongo)

feature.healthmanager.MT_Profile.ds.servers=127.0.0.1:27017

画像数据的数据源(mongo)地址

feature.healthmanager.MT_Profile.ds.db=profileDataStore

画像数据的数据库名称

feature.healthmanager.MT_Profile.ds.power=profileDataStore

画像数据的数据库用户角色

feature.healthmanager.MT_Profile.ds.usr=

画像数据的数据库用户名

feature.healthmanager.MT_Profile.ds.pwd=

画像数据的数据库密码

feature.DBSource.MongoDB4Notification

feature.healthmanager.MT_Notify.ds.enable=true

是否启用存储预警数据的数据源(mongo)

feature.healthmanager.MT_Notify.ds.servers=127.0.0.1:27017

预警数据的数据源(mongo)地址

feature.healthmanager.MT_Notify.ds.db=notifyDataStore

预警数据的数据库名称

feature.healthmanager.MT_Notify.ds.power=notifyDataStore

预警数据的数据库用户角色

feature.healthmanager.MT_Notify.ds.usr=

预警数据的数据库用户名

feature.healthmanager.MT_Notify.ds.pwd=

预警数据的数据库密码

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

实时数据的数据库名称

feature.healthmanager.MT_Monitor.ds.maxPerRoute=100

实时数据的数据库客户端单路由最大连接数

feature.healthmanager.MT_Monitor.ds.maxRoute=500

实时数据的数据库客户端最大连接数

feature.healthmanager.MT_Monitor.ds.soTimeout=10000

实时数据的数据库客户端socket连接超时时间,单位ms

feature.healthmanager.MT_Monitor.ds.connTimeout=5000

实时数据的数据库客户端连接超时时间,单位ms

feature.healthmanager.MT_Monitor.ds.reqTimeout=5000

实时数据的数据库客户端请求超时时间,单位ms

feature.healthmanager.MT_Monitor.ds.batchsize=500

实时数据的数据库批量提交阈值

feature.healthmanager.MT_Monitor.ds.retry=1

实时数据的数据库提交重试次数

feature.healthmanager.MT_Monitor.ds.expire=30000

实时数据的数据库提交超时时间,单位ms

feature.healthmanager.MT_Monitor.ds.cachetime=5

实时数据缓存时间,单位min

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

应用容器数据的数据库名称

feature.healthmanager.MT_Node.ds.maxPerRoute=10

应用容器数据的数据库客户端单路由最大连接数

feature.healthmanager.MT_Node.ds.maxRoute=50

应用容器数据的数据库客户端最大连接数

feature.healthmanager.MT_Node.ds.soTimeout=10000

应用容器数据的数据库客户端socket连接超时时间,单位ms

feature.healthmanager.MT_Node.ds.connTimeout=5000

应用容器数据的数据库客户端连接超时时间,单位ms

feature.healthmanager.MT_Node.ds.reqTimeout=3000

应用容器数据的数据库客户端请求超时时间,单位ms

feature.healthmanager.MT_Node.ds.retry=3

应用容器数据的数据库提交重试次数

feature.healthmanager.MT_Node.ds.batchsize=50

应用容器数据的数据库批量提交阈值

feature.healthmanager.MT_Node.ds.expire=30000

应用容器数据的数据库提交超时时间,单位ms

results matching ""

    No results matching ""