Heartbeat Server
Configuration file hm_pro(test)_hbserver.properties
Log Configuration
log.level=INFO
INFO, ERR, WARNING, DEBUG, FINE, FINER and ALL
log.debug=false
Enable debug logging or not
log.fsize=10
Size of single output block of logs
log.collectEnable=false
Collect logs or not
log.collectMatch=
Regex match to collect specified logs
meta.datacenterid=1
Node ID
meta.nodetype=\u5FC3\u8DF3\u670D\u52A1
Node name and UTF8 code
Basic Feature Configuration
message producer: Message Producer
resource.messageproducer.class=org.uavstack.resources.common.messaging.MessageProducerResourceComponent
Main component class of message producer
resource.messageproducer.properties=
Property configuration, for example: key1=value1,key2=value2,...
resource.messageproducer.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
Address of the message middleware server RocketMQ. Separate multiple addresses with “;”
resource.messageproducer.messagingthreshold=30
Threshold value for message compression. Send compressed messages when the message size (in kb) exceeds the threshold value
System Http invoker: Http Client Invocation
resource.httpinvoke.class=org.uavstack.resources.common.invoker.HttpInvokerResourceComponent
Component class of Http invocation
resource.httpinvoke.properties=
Property configuration, for example: key1=value1,key2=value2,...
resource.httpinvoke.http.client.maxperroute=20
Maximum client connection per route
resource.httpinvoke.http.client.maxtotal=100
Maximum client connection
resource.httpinvoke.http.client.sotimeout=10000
Timeout period of the client socket connection, in ms
resource.httpinvoke.http.client.conntimeout=10000
Timeout period of the client connection, in ms
resource.httpinvoke.http.client.reqtimeout=10000
Timeout period of the client request, in ms
nodeoperagent: Node Control Feature
feature.nodeoperagent.loader=com.creditease.uav.agent.heartbeat.jar
Main jar of the node control feature for classloader isolation
feature.nodeoperagent.enable=true
Enable the node control feature
feature.nodeoperagent.components=com.creditease.agent.feature.NodeOperAgent
Main class of the node control feature
feature.nodeoperagent.http.port=10110
Port of node control server
notifyagent: Notification Feature
feature.notifyagent.loader=com.creditease.uav.notifymanager.jar
Main jar of the notification feature for classloader isolation
feature.notifyagent.enable=true
Enable the notification feature
feature.notifyagent.components=com.creditease.agent.feature.GlobalNotificationAgent
Main class of the notification feature
feature.notifyagent.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.notifyagent.notifyhandlers=com.creditease.agent.feature.globalnotify.handlers.NotificationEventPublishHandler
Main class of the notification feature
feature.notifyagent.expireTime=14400
Expiration time of the notification event, in s
feature.notifyagent.frozenTime=300
Frozen time of the notification event, in s
heartbeatclientagent: Heartbeat Client Feature
feature.hbclientagent.loader=com.creditease.uav.agent.heartbeat.jar
Main jar of the heartbeat client feature for classloader isolation
feature.hbclientagent.enable=true
Enable the heartbeat client feature
feature.hbclientagent.components=com.creditease.agent.feature.HeartBeatClientAgent
Main class of the heartbeat client feature
feature.hbclientagent.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.hbclientagent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBClientDefaultHandler
Handler class of heartbeat delivery
feature.hbclientagent.hbservers=127.0.0.1:8011
Heartbeat server address
feature.hbclientagent.interval=15000
Heartbeat delivery interval, in ms
Functional Feature Configuration
heartbeatserveragent: Heartbeat Server Feature
feature.hbserveragent.loader=com.creditease.uav.agent.heartbeat.jar
Main jar of the heartbeat client feature for classloader isolation
feature.hbserveragent.enable=true
Enable the heartbeat server feature
feature.hbserveragent.components=com.creditease.agent.feature.HeartBeatServerAgent
Main class of the heartbeat server feature
feature.hbserveragent.properties=
Property configuration, for example: key1=value1,key2=value2,...
feature.hbserveragent.hbhandlers=com.creditease.agent.feature.hbagent.handlers.HBServerDefaultHandler
Handler class of the heartbeat server data
feature.hbserveragent.http.port=8011
Port that receives the heartbeat server data
feature.hbserveragent.hbqueryhandlers=com.creditease.agent.feature.hbagent.handlers.HBQueryHandler
Handler class of the heartbeat query server
feature.hbserveragent.http.qport=8021
Port for heartbeat data query
feature.hbserveragent.http.backlog=10
Length of the connection queue of the heartbeat Http server
feature.hbserveragent.http.core=30
Core thread count of heartbeat Http server
feature.hbserveragent.http.max=150
Maximum thread count of heartbeat Http server
feature.hbserveragent.http.bqsize=5
Queue length of the heartbeat Http server
feature.hbserveragent.store.addr=127.0.0.1:6379
Storage address (Redis) of heartbeat information
feature.hbserveragent.store.concurrent.min=40
Minimum thread count in the thread pool of the Redis client
feature.hbserveragent.store.concurrent.max=200
Maximum thread count in the thread pool of the Redis client
feature.hbserveragent.store.concurrent.bqsize=5
Queue length in the thread pool of the Redis client
feature.hbserveragent.store.concurrent.pwd=
Redis password
feature.hbserveragent.ismaster=true
Master node of the heartbeat server or not. If false, then the cascading node is only responsible for information transmission.
feature.hbserveragent.lifekeeper.enable=true
Enable the heartbeat lifekeeper or not
feature.hbserveragent.lifekeeper.interval=15000
Time interval of heartbeat lifekeeper, in ms
feature.hbserveragent.lifekeeper.locktimeout=60000
Expiration time of the distributed lock of the heartbeat lifekeeper
feature.hbserveragent.lifekeeper.nodetimeout=30000
Expiration time of the node information of the heartbeat lifekeeper
feature.hbserveragent.ntp.enable=false
Enable the time synchronization or not. Enable the MA node via root
runtimenotify: Runtime Notification Feature
feature.runtimenotify.loader=com.creditease.uav.healthmanager-1.0.jar
Main jar of the runtime notification feature for classloader isolation
feature.runtimenotify.enable=true
Enable the runtime notification feature
feature.runtimenotify.components=com.creditease.uav.feature.RuntimeNotifyCatcher
Main class of the runtime notification feature
feature.runtimenotify.rnhandlers=com.creditease.uav.feature.runtimenotify.RuntimeNotifyDataHandler
Handler class of the runtime notification information
feature.runtimenotify.messagingnameserver=127.0.0.1:9876;127.0.0.1:9876;127.0.0.1:9876
Address of the message queue of the notification information. Separate multiple addresses with “;”
feature.runtimenotify.MT_Runtime.consumethreadmax=30
Maximum thread count consumed
feature.runtimenotify.MT_Runtime.consumestopinterval=0
Consumption interval, in ms
feature.runtimenotify.MT_Runtime.enable=false
Consume MT_Runtime information or not
feature.runtimenotify.cm.server=127.0.0.1:6379
Address of notification cache (Redis)
feature.runtimenotify.cm.minsize=10
Minimum thread count in the thread pool of the Redis client
feature.runtimenotify.cm.maxsize=30
Maximum thread count in the thread pool of the Redis client
feature.runtimenotify.cm.qsize=5
Queue length in the thread pool of the Redis client
feature.runtimenotify.storecm.server=127.0.0.1:6379
Address of sliced notification cache (Redis)
feature.runtimenotify.storecm.minsize=30
Minimum thread count in the thread pool of the Redis client
feature.runtimenotify.storecm.maxsize=150
Maximum thread count in the thread pool of the Redis client
feature.runtimenotify.storecm.qsize=5
Queue length in the thread pool of the Redis client
feature.runtimenotify.qworker.coresize=20
Core thread count processed in the notification thread pool
feature.runtimenotify.qworker.maxsize=100
Maximum thread count in the notification thread processing pool
feature.runtimenotify.qworker.bqsize=5
Queue length in the notification thread processing pool
feature.runtimenotify.qworker.keepalivetimeout=60000
Expiration time of the process death notification, in ms
feature.runtimenotify.nodeinfotimer.enable=true
Enable node heartbeat data receiving or not
feature.runtimenotify.nodeinfotimer.period=15000
Receiving frequency of the node heartbeat data
feature.runtimenotify.nodeinfoprocess.sendmq=true
Send the node heartbeat data to the message queue or not
feature.runtimenotify.nodeinfoprocess.exchange=false
Exchange the node heartbeat data into the runtime notification module or not
feature.runtimenotify.rnswhandlers=com.creditease.uav.feature.runtimenotify.http.RuntimeNotifyServerHandler
Handler class of the Http server of the runtime notification
feature.runtimenotify.http.port=9003
Port of the Http server of the runtime notification
feature.runtimenotify.http.backlog=10
Length of the connection queue of the Http server of the runtime notification
feature.runtimenotify.http.core=10
Core thread count of the Http server of the runtime notification
feature.runtimenotify.http.max=50
Maximum thread count of the Http server of the runtime notification
feature.runtimenotify.http.bqsize=10
Queue length of the Http server of the runtime notification
feature.runtimenotify.crash.timeout=300000
Expiration time of the process death notification, in ms
feature.runtimenotify.strategy.interval=60000
Upgrade frequency of notification strategies, in ms
feature.runtimenotify.slice.config={"N": {"timerange":" 600000","expire":" 60000"},"M": {"timerange":" 600000","expire":" 60000"},"L": {"timerange":" 600000","expire":" 0 "}}
Storage period and expiration time of sliced notification data