Share via

How does checkpoints are maintained between Azure Data Explorer and Azure IoT Hub

Anonymous
2023-08-16T10:10:21.1533333+00:00

Hi,

How does the check points are being maintained between ADX ad Azure IoT Hub.

Assume, an ADX database is connected to an Azure IoT Hub, for ingestion.

When an ADX is down, for due to some reason and is up after some time, how does ADX knows, from which point(which data) onwards, it should consider?

Regards,

Viswanath

Azure IoT Hub
Azure IoT Hub

An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.

Azure Data Explorer
Azure Data Explorer

An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.


Answer accepted by question author

Sander van de Velde | MVP 37,066 Reputation points MVP
2023-08-16T10:25:40.9866667+00:00

Hello @Peter Prabhat,

the answer is quite simple due to the way the ADX Database Data connection is created.

The ADX Database Data connection is relying on the message stream coming from the IoT Hub.

This is the Event Hub compatible endpoint of the IoT Hub, probably enforced with the default event route.

This endpoint is also instrumented with a separate consumer group (other than $default) so there is a copy for Azure Data Explorer for each incoming message.

If ADX stops, the data connection stops and ingestion stops.

The IoT Hub has a certain retention time for messages not being picked up:

User's image

So, depending on the retention time, you have one or more days to stop and restart the Azure Data Explorer without information loss.

Check out more details here.


If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.