Compare commits

..

2 Commits

Author SHA1 Message Date
ChenYi
8bf886b46f 更新 2025-08-07 17:07:55 +08:00
ChenYi
c23176522c 优化Pulsar组件 2025-08-07 14:08:37 +08:00
4 changed files with 36 additions and 3 deletions

View File

@ -103,7 +103,7 @@
<PackageReference Update="Otp.NET" Version="1.4.0" /> <PackageReference Update="Otp.NET" Version="1.4.0" />
<PackageReference Update="QRCoder" Version="1.6.0" /> <PackageReference Update="QRCoder" Version="1.6.0" />
</ItemGroup> </ItemGroup>
</Project> </Project>

@ -1 +1 @@
Subproject commit e6e074ada12b85522117487e7d80074a9b26a657 Subproject commit 149cc3e40625aa5d68d8b185cb2981bc1fbd2e61

View File

@ -31,6 +31,23 @@
"NumPartitions": 30, "NumPartitions": 30,
"TaskThreadCount": -1 "TaskThreadCount": -1
}, },
"Pulsar": {
"ServiceUrl": "pulsar+ssl://iot-north-mq.heclouds.com:6651",
"WebUrl": "http://localhost:8080",
"EnableFilter": true,
"EnableAuthorization": true,
"EnableIoTAuth": true,
"EnableTls": false,
"TlsCertificatePath": "",
"TlsPrivateKeyPath": "",
"ValidateServerCertificate": false,
"NumPartitions": 30,
"TaskThreadCount": 1,
"IoTAccessId": "1YMVZZkAkRArjxSD8457",
"IoTSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79",
"IoTSubscriptionCustomName": "sub",
"IsSubscriber": true
},
"IoTDBOptions": { "IoTDBOptions": {
"UserName": "root", "UserName": "root",
"Password": "Lixiao@1980", "Password": "Lixiao@1980",
@ -51,7 +68,7 @@
"AutomaticMonthFreezeTime": "03:30:00", "AutomaticMonthFreezeTime": "03:30:00",
"DefaultProtocolPlugin": "T37612012ProtocolPlugin", "DefaultProtocolPlugin": "T37612012ProtocolPlugin",
"VerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh", "VerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh",
"DistributedMessage":2 "DistributedMessage": 2
}, },
"Jwt": { "Jwt": {
"Audience": "JiShe.IoT", "Audience": "JiShe.IoT",

View File

@ -50,6 +50,22 @@
"NumPartitions": 30, "NumPartitions": 30,
"TaskThreadCount": -1 "TaskThreadCount": -1
}, },
"Pulsar": {
"ServiceUrl": "pulsar+ssl://iot-north-mq.heclouds.com:6651",
"WebUrl": "http://localhost:8080",
"EnableFilter": true,
"EnableAuthorization": true,
"EnableIoTAuth": true,
"EnableTls": null,
"TlsCertificatePath": null,
"TlsPrivateKeyPath": null,
"ValidateServerCertificate": null,
"NumPartitions": 30,
"TaskThreadCount": 4,
"IoTAccessId": "your_project_access_id",
"IoTSecretKey": "your_project_secret_key",
"IsSubscriber": true
},
"IoTDBOptions": { "IoTDBOptions": {
"UserName": "root", "UserName": "root",
"Password": "Lixiao@1980", "Password": "Lixiao@1980",