Log Server

Configuration file hm_pro(test)_logserver.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

Configure data center ID

meta.nodetype=\u65E5\u5FD7\u6570\u636E\u670D\u52A1

Node name and UTF8 code

Basic Feature Configuration

messageproducer: 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=10130

Port of node control service

notifyagent: Notification Feature

feature.notifyagent.loader=com.creditease.uav.notifymanager.jar

Main jar of the node 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

HealthManager: Log Server Feature

feature.newlogservice.loader=com.creditease.uav.invokechain.jar

Main jar of the log server feature for classloader isolation

feature.newlogservice.enable=true

Enable the log server feature

feature.newlogservice.components=com.creditease.uav.healthmanager.newlog.HMNewLogService

Main class of the log server feature

feature.newlogservice.properties=

Property configuration, for example: key1=value1,key2=value2,...

feature.newlogservice.to.runtimentf=true

Enable the runtime notification of logs

RocketMQ Configuration

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

RocketMQ NameServer address

feature.newlogservice.MT_Log.consumethreadmax=10

Maximum thread count consumed

feature.newlogservice.MT_Log.consumestopinterval=0

Consumption interval, in ms

feature.newlogservice.MT_Log.enable=true

Log data or not

Elastic-search Configuration

feature.newlogservice.es.addr=127.0.0.1:9300,127.0.0.1:9300,127.0.0.1:9300,127.0.0.1:9300

ES address

feature.newlogservice.es.clustername=edp-es

ES cluster name

feature.newlogservice.es.query.timeout=5000

Timeout period of the log query request, in ms

query http service: Log Query Server

feature.newlogservice.http.enable=true

Enable log query server or not

feature.newlogservice.http.port=7899

Port of log query server

feature.newlogservice.http.core=50

Core thread count of the log server

feature.newlogservice.http.max=300

Maximum thread count of the log server

feature.newlogservice.http.backlog=10

Length of the connection queue of the log server

feature.newlogservice.http.bqsize=10

Queue length of the log server

feature.newlogservice.qhandlers=com.creditease.uav.healthmanager.newlog.http.NewLogQueryHandler

Handler class of the log query server

results matching ""

    No results matching ""