From 29b7b5ca13e71e0310f9ea8a83b03cca752dffb7 Mon Sep 17 00:00:00 2001 From: Denis-Cosmin Nutiu Date: Fri, 17 Apr 2020 13:51:02 +0300 Subject: [PATCH] Update docs on Telemetry publisher Firestore --- NucuCar.Domain/Readme.md | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/NucuCar.Domain/Readme.md b/NucuCar.Domain/Readme.md index 41289ab..e72574b 100644 --- a/NucuCar.Domain/Readme.md +++ b/NucuCar.Domain/Readme.md @@ -31,6 +31,10 @@ dotnet run --Telemetry:ConnectionString=CONNECTION_STRING export Telemetry:ConnectionString=CONNECTION_STRING ``` +The Telemetry:Publisher must be set to: Azure + +You may also use the format from above to override any settings in appsettings.json. + ### Reader A telemetry reader can be found in NucuCar.TestClient. You'll need a connection string that can be found in @@ -47,8 +51,27 @@ Publishes telemetry on the disk. Example connection string: `Filename=telemetry;FileExtension=csv;Separator=,;BufferSize=4096` +The Telemetry:Publisher must be set to: Disk + See the source code for comments on the ConnectionString. ### Reader -You will need to parse the file by yourself. \ No newline at end of file +You will need to parse the file by yourself. + +--- + +### Firebase Firestore Database + +#### Publisher + +Publishes telemetry on the firestore. + +The Telemetry:Publisher must be set to: Firestore + +Example connection string: +`ProjectId=nucuhub;CollectionName=sensors-telemetry-test;Timeout=1000` + +### Reader + +You will need use a firebase client or rest API. \ No newline at end of file