MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.2k stars 21.35k forks source link

Issue on "Route events within and outside of Azure Digital Twins" #66124

Closed maxstefaniv closed 3 years ago

maxstefaniv commented 3 years ago

To whom it may concern, I hope you can understand my issue and give me some answers. This is based mainly on the data flow explained on Route events within and outside of Azure Digital Twins. I have some issues finding out and understanding the proper use of a Telemetry on DT as well as the proper generation and consumption. Let me elaborate and ask proper questions:

Final and most important questions: Am I failing to understand how Telemetry is generated From or on behalf of a Digital Twin? Could someone link me a proper use example, as I failed to find it? Which is the value for declaring Schema, Unit, @Type for telemetry on DT when it looks like they are not used?

Thank you, very much, for your time. Kind regards, Max


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

SaurabhSharma-MSFT commented 3 years ago

@maxstefaniv Thanks for the feedback ! I have assigned this issue to content author to investigate and update the document as appropriate.

alexkarcher-msft commented 3 years ago

Hi @maxstefaniv

Thanks for the super detailed response, this is a really good question!

Right now, the only use for Telemetry is to make it a bit easier to send raw telemetry alongside lifecycle events using one message service.

The functionality that you're asking for is contained within twin change events. Those validate input and generate events to drive downstream logic. Plus, you get the benefit of being able to use our query API for the last known value of your IoT devices.

You'll notice in our ingestion tutorial we consume telemetry from IoT hub directly in our ingestion function, and only pass twin update requests on to the Twins instance.

I also noted that this generated Telemetry once detected on endpoint function is not properly consumed. I detect the telemetry a bunch of times when this Telemetry message should disappear once it is consumed on the endpoint.

Your other issue looks much more dire. Are you still experiencing this bug? Is there a particular tutorial you're following that was unable to properly dequeue messages?

baanders commented 3 years ago

@maxstefaniv Hello, are you still experiencing this issue? We'll be closing this issue in 7 days if it's been resolved or if there is no further information by then. (We can also reopen at any time if necessary.)

Thank you!

maxstefaniv commented 3 years ago

Hello, you answered my questions. There is no problem if you close it.

Thankyou

Maksym Stefaniv IoT Engineer / Data Engineer / Ingeniero Eléctrico

El mié., 16 dic. 2020 16:18, Bailey Anderson notifications@github.com escribió:

@maxstefaniv https://github.com/maxstefaniv Hello, are you still experiencing this issue? We'll be closing this issue in 7 days if it's been resolved or if there is no further information by then. (We can also reopen at any time if necessary.)

Thank you!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/MicrosoftDocs/azure-docs/issues/66124#issuecomment-746459198, or unsubscribe https://github.com/notifications/unsubscribe-auth/AO46QN5BFHDYGFPNN7YPEEDSVDFVHANCNFSM4TW7SELQ .

baanders commented 3 years ago

Thanks for the response! Sounds great!

please-close