简体   繁体   English

如何使用Azure Stream Analytics将内部部署的SQL Server用作输出?

[英]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: 在添加输出时,这失败了:

请求正文中提供的JSON无效。属性'服务器'值''是不可接受的

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.

相关问题 我可以将SQL Server 2012内部部署与Azure移动服务一起使用以进行脱机同步吗? - Can I use SQL Server 2012 on-Premise with Azure Mobile service for offline Synchronization? 如何将 map 本地服务器内核转换为 Azure Sql 数据库的 vcore? - How to map on-premise server cores to vcores for Azure Sql Database? 如何从 Azure Powershell 运行手册连接到本地 SQL 服务器? - How to connect to an on-premise SQL Server from Azure Powershell runbook? Azure web 应用程序能否使用 SSO 连接到本地应用程序 - Can Azure web app use SSO to connect to on-premise application 本地 SQL 服务器到 Azure PostgreSQL 复制 - On-premise SQL Server to Azure PostgreSQL replication 我如何知道 Azure 中的虚拟机使用本地网络网关路由连接到本地网络? - How do I know that a Virtual Machine in Azure use the Local network gateway route to connect to an on-premise network? 如何在Azure流分析中使用ML函数? - How can I use ML function in Azure Stream Analytics? Azure SQL 即服务将服务链接到本地​​ SQL Server - Azure SQL as a service linked services to an on-premise SQL Server 将Azure SQL数据库镜像到本地SQL Server - Mirroring Azure SQL Database to an on-premise SQL Server 具有本地SQL Server和最佳实践的Azure搜索数据源? - Azure Search DataSource with on-premise SQL Server and best practices?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM