diff --git a/Directory.Build.targets b/Directory.Build.targets index 8342f78..b368fca 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -103,7 +103,7 @@ - + \ No newline at end of file diff --git a/JiShe.ServicePro b/JiShe.ServicePro index e6e074a..44ec6b5 160000 --- a/JiShe.ServicePro +++ b/JiShe.ServicePro @@ -1 +1 @@ -Subproject commit e6e074ada12b85522117487e7d80074a9b26a657 +Subproject commit 44ec6b580dbf0e72591a4ea663615cc8c608b6f2 diff --git a/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json b/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json index 36f3dc7..67c72ed 100644 --- a/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json +++ b/host/JiShe.IoT.HttpApi.Host/appsettings.Development.json @@ -31,6 +31,22 @@ "NumPartitions": 30, "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": "1YMVZZkAkRArjxSD8457", + "IoTSecretKey": "0fd7afb8b0d04e6abc4fdfdac2190a79", + "IsSubscriber": true + }, "IoTDBOptions": { "UserName": "root", "Password": "Lixiao@1980", @@ -51,7 +67,7 @@ "AutomaticMonthFreezeTime": "03:30:00", "DefaultProtocolPlugin": "T37612012ProtocolPlugin", "VerifySignatureToken": "SIcPQnpMgaFDmNlIjNmzq5smshz7cKrh", - "DistributedMessage":2 + "DistributedMessage": 1 }, "Jwt": { "Audience": "JiShe.IoT", diff --git a/host/JiShe.IoT.HttpApi.Host/appsettings.Production.json b/host/JiShe.IoT.HttpApi.Host/appsettings.Production.json index dc3fa64..b93d0b1 100644 --- a/host/JiShe.IoT.HttpApi.Host/appsettings.Production.json +++ b/host/JiShe.IoT.HttpApi.Host/appsettings.Production.json @@ -50,6 +50,22 @@ "NumPartitions": 30, "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": { "UserName": "root", "Password": "Lixiao@1980",