Forum Discussion

pmscorca's avatar
pmscorca
Kudo Kingpin
1 year ago
Solved

Understanding the EventProcessedUtcTime and EventEnqueuedUtcTime columns to add the destination

Hi, when for an Evenstream I use an Azure Event Hubs as a source and a KQL database as a destination, I can add the EventProcessedUtcTime and EventEnqueuedUtcTime columns to the KQL table. I'd like...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi pmscorca ,

     

    Yes, the EventEnqueuedUtcTime is indeed registered inside Azure Event Hubs. This timestamp is set by Azure Event Hubs when the event is enqueued in the Event Hub partition.

    While it might seem redundant to have this information in Eventstream, it serves a specific purpose. By including the `EventEnqueuedUtcTime` in your Eventstream data, you can directly compare it with the `EventProcessedUtcTime` to measure the end-to-end latency of your event processing pipeline. This comparison helps you identify and troubleshoot any delays or bottlenecks between the time an event is received by Azure Event Hubs and the time it is processed by your application.

     

    Understand time handling in Azure Stream Analytics - Azure Stream Analytics | Microsoft Learn

    EventData.EnqueuedTime Property (Azure.Messaging.EventHubs) - Azure for .NET Developers | Microsoft Learn

     

    Best Regards,

    Neeko Tang

    If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly.