[英]How can I use Azure Stream Analytics to use an on-premise SQL Server as an Output?
I'm following the instructions to set up App Insights to spool to SQL using Azure Stream Analytics , but I'm trying to deviate slightly to use an on-premise SQL server (that the web application already uses) over VPN. 我按照说明使用Azure Stream Analytics设置App Insights以假脱机到SQL ,但我试图略微偏离使用内部部署的SQL服务器(Web应用程序已经使用过)通过VPN。
At the point of adding the output, this is failing with: 在添加输出时,这失败了:
Is it the case that IP addresses are not supported, or is it something more fundamental than that? 是不是支持IP地址的情况,还是比这更基本的东西?
You are probably looking for answers directly to your question, which Jean-Sébastien answers succinctly. 您可能正在寻找直接回答您问题的答案,Jean-Sébastien简明扼要地回答。 But an alternative architecture, if you haven't considered it already...
但是另一种架构,如果你还没有考虑过......
You could stream to a transient Azure SQL Database or Blob storage (likely cheaper depending on your workload), and then use Azure Data Factory tunnelled via a Self-Hosted Data Factory Integration Runtime to "send" the data back to on-premise SQL. 您可以流式传输到瞬态Azure SQL数据库或Blob存储(可能更便宜,具体取决于您的工作负载),然后使用通过自托管数据工厂集成运行时隧道传输的Azure数据工厂将数据“发送”回本地SQL。
Data Factory V2 also has blob triggers, so rather than needing a schedule it could pickup any new blobs in micro batches. Data Factory V2也有blob触发器,因此它不需要一个计划就可以在微批中拾取任何新的blob。
I say "send" in quotation marks as the Integration Runtime actually creates an outgoing connection to from on-premise to Azure, yet gives the capability for push-like data transfer. 我说引号中的“发送”是因为Integration Runtime实际上创建了从内部部署到Azure的传出连接,但却提供了类似推送数据传输的功能。
If data factory proves useful, here is a guide creating copy pipelines: https://docs.microsoft.com/en-us/azure/data-factory/tutorial-hybrid-copy-portal 如果数据工厂证明有用,这里有一个创建复制管道的指南: https : //docs.microsoft.com/en-us/azure/data-factory/tutorial-hybrid-copy-portal
Albeit this guide is for on-prem sql to blob, but it gives you a stronger starting point. 虽然本指南适用于on-prem sql to blob,但它为您提供了更强大的起点。
At this time only Azure SQL Databases are supported in Azure Stream Analytics. 目前,Azure Stream Analytics仅支持Azure SQL数据库。 Sorry for the inconvenience.
抱歉给你带来不便。
Thanks, 谢谢,
JS (Azure Stream Analytics) JS(Azure流分析)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.