76 lines
1.6 KiB
JSON
76 lines
1.6 KiB
JSON
{
|
|
"manager": {
|
|
"port": 8090,
|
|
"jwtSecret": "1340691923@qq.com",
|
|
"deBug": true
|
|
},
|
|
"report": {
|
|
"reportPort":8091,
|
|
"readTimeout":20,
|
|
"writeTimeout":20,
|
|
"maxConnsPerIP":100000,
|
|
"maxRequestsPerConn":100000,
|
|
"idleTimeout":20,
|
|
"userAgentBanList":["mpcrawler"]
|
|
},
|
|
"sinker": {
|
|
"reportAcceptStatus":{
|
|
"bufferSize": 999,
|
|
"flushInterval": 2
|
|
},
|
|
"reportData2CK":{
|
|
"bufferSize": 1000,
|
|
"flushInterval": 2
|
|
},
|
|
"realTimeWarehousing":{
|
|
"bufferSize": 1000,
|
|
"flushInterval": 2
|
|
},
|
|
"pprofHttpPort": 8093
|
|
},
|
|
"comm": {
|
|
"log": {
|
|
"storageDays":4,
|
|
"logDir":"logs"
|
|
},
|
|
"mysql": {
|
|
"username":"root",
|
|
"pwd":"dev123",
|
|
"ip":"192.168.78.128",
|
|
"port":"3306",
|
|
"dbName":"databi",
|
|
"maxOpenConns":10,
|
|
"maxIdleConns":10
|
|
},
|
|
"clickhouse": {
|
|
"username":"root",
|
|
"pwd":"dev123",
|
|
"ip":"192.168.78.128",
|
|
"port":"9000",
|
|
"dbName":"databi",
|
|
"clusterName":"",
|
|
"macrosShardKeyName":"",
|
|
"macrosReplicaKeyName":"",
|
|
"maxOpenConns":10,
|
|
"maxIdleConns":20
|
|
},
|
|
"kafka": {
|
|
"addresses":["192.168.78.128:9092"],
|
|
"username":"",
|
|
"password":"",
|
|
"numPartitions":10,
|
|
"debugDataTopicName": "debugDataTopicName",
|
|
"debugDataGroup": "debugDataGroup",
|
|
"reportTopicName": "test005",
|
|
"reportData2CKGroup": "reportData2CKGroup2",
|
|
"realTimeDataGroup": "realTimeDataGroup2"
|
|
},
|
|
"redis": {
|
|
"addr":"192.168.78.128:6379",
|
|
"passwd":"",
|
|
"db": 7,
|
|
"maxIdle": 10,
|
|
"maxActive": 0
|
|
}
|
|
}
|
|
} |