bi/config/config.json

76 lines
1.6 KiB
JSON
Raw Normal View History

2022-01-26 16:40:50 +08:00
{
"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",
2025-05-22 16:27:39 +08:00
"pwd":"dev123",
"ip":"192.168.78.128",
2022-01-26 16:40:50 +08:00
"port":"3306",
2025-05-22 16:27:39 +08:00
"dbName":"databi",
2022-01-26 16:40:50 +08:00
"maxOpenConns":10,
"maxIdleConns":10
},
"clickhouse": {
2025-05-22 16:27:39 +08:00
"username":"root",
"pwd":"dev123",
"ip":"192.168.78.128",
2022-01-26 16:40:50 +08:00
"port":"9000",
2025-05-22 16:27:39 +08:00
"dbName":"databi",
"clusterName":"",
"macrosShardKeyName":"",
"macrosReplicaKeyName":"",
"maxOpenConns":10,
"maxIdleConns":20
2022-01-26 16:40:50 +08:00
},
"kafka": {
2025-05-22 16:27:39 +08:00
"addresses":["192.168.78.128:9092"],
2022-01-26 16:40:50 +08:00
"username":"",
"password":"",
2025-05-22 16:27:39 +08:00
"numPartitions":10,
2022-01-26 16:40:50 +08:00
"debugDataTopicName": "debugDataTopicName",
"debugDataGroup": "debugDataGroup",
"reportTopicName": "test005",
"reportData2CKGroup": "reportData2CKGroup2",
"realTimeDataGroup": "realTimeDataGroup2"
},
"redis": {
2025-05-22 16:27:39 +08:00
"addr":"192.168.78.128:6379",
2022-01-26 16:40:50 +08:00
"passwd":"",
"db": 7,
2025-05-22 16:27:39 +08:00
"maxIdle": 10,
2022-01-26 16:40:50 +08:00
"maxActive": 0
}
}
}