Stream RealTime data from an On Prem Microsoft Server to a Azure Data Lake.

Sallie Worsley 5 Reputation points
2023-03-16T02:02:54.12+00:00

There is a need for Real Time data to be collected from a On Prem SQL Server.

This means ADF is not suitable because it only does batch.

Azure Streaming Analytics only connects to Azure SQL Server and not on prem.

Has anybody else encountered this and what is the best way to achieve this?

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,527 questions
Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
673 questions
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
373 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Sander van de Velde | MVP 34,281 Reputation points MVP
    2023-03-16T21:45:26.8066667+00:00

    Hello @Sallie Worsley,

    moving data from an on-prem SQL server to the cloud and passing rows of data through Azure Stream Analytics, yes I have done this several times.

    In my case, the context was the Internet of Things (IoT) where data had to be collected both from devices and from on-prem data resources.

    You are talking about real-time data in Sql Server, this makes it an excellent IoT solution.

    I worked with Azure IoT Edge so local logic was running in a Docker container on a VM running within the local Network. That Edge solution had a secure outbound connection with an Azure IoT Hub.

    Messages we constructed using SQL queries and sent to the IoT Hub which passed them on to the Azure Stream Analytics job.

    Btw. if you only want to collect raw telemetry/row data, a direct route to ADL without the need for a Stream Analytics job is possible too.

    An EventHub connection is considered less secure than using an IoT Hub.

    The biggest advantage is the reliable message transfer, no messages are lost during a temporary Azure IoT Hub connection hick-up.

    If you are interested, check out this free training module about Azure IoT Edge.


    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.

    1 person found this answer helpful.

Your answer

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