JiShe.CollectBus/web/JiShe.CollectBus.Host/appsettings.Production.json

87 lines
2.7 KiB
JSON
Raw Normal View History

2025-04-27 11:04:31 +08:00
{
2025-04-27 15:53:33 +08:00
"ConnectionStrings": {
2025-05-13 17:02:03 +08:00
"Default": "mongodb://admin:4mFmPTTB8tn6aI@47.110.62.104:27017,47.110.53.196:27017,47.110.60.222:27017/JiSheCollectBus?authSource=admin&maxPoolSize=400&minPoolSize=10&waitQueueTimeoutMS=5000",
2025-05-20 15:31:53 +08:00
"PrepayDB": "server=rm-m5el3d1u1k0wzk70n2o.sqlserver.rds.aliyuncs.com,3433;database=jishe.sysdb;uid=v3sa;pwd=JiShe123;Encrypt=False;Trust Server Certificate=False",
"EnergyDB": "server=rm-wz9hw529i3j1e3b5fbo.sqlserver.rds.aliyuncs.com,3433;database=db_energy;uid=yjdb;pwd=Kdjdhf+9*7ad222LL;Encrypt=False;Trust Server Certificate=False"
2025-04-27 15:53:33 +08:00
},
"Redis": {
2025-05-13 17:02:03 +08:00
"Configuration": "47.110.60.222:6379,password=3JBGfyhTaD46nS,syncTimeout=30000,abortConnect=false,connectTimeout=30000,allowAdmin=true",
2025-04-27 15:53:33 +08:00
"MaxPoolSize": "50",
"DefaultDB": "14",
"HangfireDB": "13"
},
"Kafka": {
2025-05-13 17:02:03 +08:00
"BootstrapServers": "47.110.62.104:9092,47.110.53.196:9092,47.110.60.222:9092",
2025-04-27 15:53:33 +08:00
"EnableFilter": true,
2025-05-19 15:45:02 +08:00
"EnableAuthorization": true,
2025-04-27 15:53:33 +08:00
"SaslUserName": "lixiao",
2025-05-19 08:38:09 +08:00
"SaslPassword": "lixiao@1980",
2025-04-27 15:53:33 +08:00
"KafkaReplicationFactor": 3,
"NumPartitions": 30,
"ServerTagName": "JiSheCollectBus100",
"FirstCollectionTime": "2025-04-22 16:07:00"
},
"IoTDBOptions": {
"UserName": "root",
2025-05-22 10:38:38 +08:00
"Password": "root",
2025-05-22 10:53:01 +08:00
//"ClusterList": [ "47.110.53.196:6667", "47.110.60.222:6667", "47.110.62.104:6667" ],
2025-05-22 10:20:59 +08:00
//"Password": "root",
2025-05-22 10:53:01 +08:00
"ClusterList": [ "121.42.175.177:16667" ],
2025-04-27 15:53:33 +08:00
"PoolSize": 2,
"DataBaseName": "energy",
"OpenDebugMode": true,
"UseTableSessionPoolByDefault": false
},
"Cassandra": {
"ReplicationStrategy": {
"Class": "NetworkTopologyStrategy", //策略为NetworkTopologyStrategy时才会有多个数据中心SimpleStrategy用在只有一个数据中心的情况下
"DataCenters": [
{
"Name": "dc1",
"ReplicationFactor": 3
}
]
},
"Nodes": [
{
2025-04-27 16:03:49 +08:00
"Host": "121.42.175.177",
"Port": 19042,
2025-04-27 15:53:33 +08:00
"DataCenter": "dc1",
"Rack": "RAC1"
},
{
2025-04-27 16:03:49 +08:00
"Host": "121.42.175.177",
"Port": 19043,
2025-04-27 15:53:33 +08:00
"DataCenter": "dc1",
"Rack": "RAC2"
},
{
2025-04-27 16:03:49 +08:00
"Host": "121.42.175.177",
"Port": 19044,
2025-04-27 15:53:33 +08:00
"DataCenter": "dc1",
"Rack": "RAC2"
}
],
"Username": "admin",
"Password": "lixiao1980",
"Keyspace": "jishecollectbus",
"ConsistencyLevel": "Quorum",
"PoolingOptions": {
"CoreConnectionsPerHost": 4,
"MaxConnectionsPerHost": 8,
"MaxRequestsPerConnection": 2000
},
"SocketOptions": {
"ConnectTimeoutMillis": 10000,
"ReadTimeoutMillis": 20000
},
"QueryOptions": {
"ConsistencyLevel": "Quorum",
"SerialConsistencyLevel": "Serial",
"DefaultIdempotence": true
2025-04-27 11:04:31 +08:00
}
2025-05-19 15:53:49 +08:00
},
"HealthChecks": {
"IsEnable": false
2025-04-27 11:04:31 +08:00
}
2025-04-27 16:24:51 +08:00
}