-
Notifications
You must be signed in to change notification settings - Fork 738
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CreationTimeUtc for D2C message #1568
Comments
I can add this work to the backlog. Does this actually work for you?? When I do it, the creation time is not on the system properties, but on the message properties. Routing to blob storage does not respect the creation time. How are you using this?? { |
we can route D2C messages to kusto/blob storage and purpose is to store message creation time for each messages. |
@ericwol-msft - If application properties are not available to destination resources, this will not solve our use case. We wanted to route data to following resources-
We are providing interface to work with Azure IoT. Multiple teams will consuming this interface. One option(#1) is, each message body shall contain the creation-timestamp, in this case, each team consuming our interface will need to add this in their message body, other option (#2) is, we add creation-timestamp in system properties at common place. Consuming applications consuming messages from blob storage, event hub and Kusto DB needs this information for their business logic. |
@ericwol-msft - Thanks for the PR. Hoping this feature is supported for MQTT over websocket protocol from device to IoTHub. |
This is now in master branch. Please use IoTHubMessage_SetMessageCreationTimeUtcSystemProperty to set the creation time on the message |
@rajaggrawal, @sanjeev-magoo, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey |
This is regarding setting of system property(CreationTimeUtc) to D2C message. Basically, we wanted to set CreationTimeUtc timestamp in every telemetry message originated from device. It is possible that device is generating D2C messages when working in offline mode, when these messages reached to cloud, we want to know the actual creation time of these messages.
Our findings-
Questions-
Note- We can temporarily set this property in application properties, but we are looking for solution using system properties as recommended by MS and to minimize the changes later.
References-
The text was updated successfully, but these errors were encountered: